#0F2657#0F2657

#0F2657 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.3% C 0.094 H 262.9°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#0F2657
RGBrgb(15, 38, 87)
HSLhsl(221, 71%, 20%)
HSVhsv(221, 83%, 34%)
CMYKcmyk(82.8%, 56.3%, 0%, 65.9%)
CIE-LABlab(16.38, 11.26, -32.24)
CIE-LCHlch(16.38, 34.15, 289.26°)
OKLaboklab(28.31% -0.0115 -0.0928)
OKLCHoklch(28.31% 0.094 262.9)
XYZxyz(2.6098, 2.1756, 9.2974)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2657 #57400F
analogous
#0F4A57 #0F2657 #1C0F57
triadic
#0F2657 #570F26 #26570F
tetradic
#0F2657 #570F4A #57400F #0F571C
square
#0F2657 #570F4A #57400F #0F571C
split-complementary
#0F2657 #571C0F #4A570F
monochromatic
#050B1A #060F23 #0F2657 #183D8B #2154BF

Accessibility & contrast

On white

14.63
#0F2657 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0F2657 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2657
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2657#FFFFFF#000000##FFFFFF
##0F26571.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052C59
Deuteranopia (green-blind)
#002556
Tritanopia (blue-blind)
#00323A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2657;
/* rgb */ color: rgb(15, 38, 87);
/* oklch */ color: oklch(28.3% 0.094 262.9);
Tailwind
colors: {
  custom: {
    50: '#5a5f87',
    500: '#0f2657',
    950: '#000000',
  },
}
SCSS
$custom: #0f2657;
$custom-light: #5a5f87;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2657",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 87
  },
  "hsl": {
    "h": 220.833,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.28307,
    "c": 0.09353,
    "h": 262.9
  },
  "luminance": 0.02176
}

Semantic roles & 50–950 ramp

primary
#0F2657
secondary
#917231
accent
#B43AED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2657

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#0F2657 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva