#0F204E#0F204E

#0F204E is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.088 H 265.4°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#0F204E
RGBrgb(15, 32, 78)
HSLhsl(224, 68%, 18%)
HSVhsv(224, 81%, 31%)
CMYKcmyk(80.8%, 59%, 0%, 69.4%)
CIE-LABlab(13.74, 11.87, -30.43)
CIE-LCHlch(13.74, 32.66, 291.31°)
OKLaboklab(26.06% -0.0071 -0.0876)
OKLCHoklch(26.06% 0.088 265.4)
XYZxyz(2.0882, 1.6844, 7.4213)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F204E #4E3D0F
analogous
#0F3F4E #0F204E #1E0F4E
triadic
#0F204E #4E0F20 #204E0F
tetradic
#0F204E #4E0F3F #4E3D0F #0F4E1E
square
#0F204E #4E0F3F #4E3D0F #0F4E1E
split-complementary
#0F204E #4E1E0F #3F4E0F
monochromatic
#050B1A #050B1B #0F204E #193581 #234AB5

Accessibility & contrast

On white

15.71
#0F204E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0F204E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F204E
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F204E#FFFFFF#000000##FFFFFF
##0F204E1.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012650
Deuteranopia (green-blind)
#00204D
Tritanopia (blue-blind)
#002B33
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f204e;
/* rgb */ color: rgb(15, 32, 78);
/* oklch */ color: oklch(26.1% 0.088 265.4);
Tailwind
colors: {
  custom: {
    50: '#585a80',
    500: '#0f204e',
    950: '#000000',
  },
}
SCSS
$custom: #0f204e;
$custom-light: #585a80;
$custom-dark: #000000;
JSON
{
  "hex": "#0f204e",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 78
  },
  "hsl": {
    "h": 223.81,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26062,
    "c": 0.08791,
    "h": 265.4
  },
  "luminance": 0.01685
}

Semantic roles & 50–950 ramp

primary
#0F204E
secondary
#887131
accent
#BC3DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0F204E

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

Preview Lab → · Contrast checker → · Palette generator →

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