#0F2F4D#0F2F4D

#0F2F4D is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 29.8% C 0.066 H 249.8°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#0F2F4D
RGBrgb(15, 47, 77)
HSLhsl(209, 67%, 18%)
HSVhsv(209, 81%, 30%)
CMYKcmyk(80.5%, 39%, 0%, 69.8%)
CIE-LABlab(18.67, 0.29, -21.84)
CIE-LCHlch(18.67, 21.84, 270.76°)
OKLaboklab(29.85% -0.0228 -0.0621)
OKLCHoklch(29.85% 0.066 249.8)
XYZxyz(2.5526, 2.6701, 7.4006)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F4D #4D2D0F
analogous
#0F4D4C #0F2F4D #0F104D
triadic
#0F2F4D #4D0F2F #2F4D0F
tetradic
#0F2F4D #4C0F4D #4D2D0F #104D0F
square
#0F2F4D #4C0F4D #4D2D0F #104D0F
split-complementary
#0F2F4D #4D0F10 #4D4C0F
monochromatic
#05101A #05101A #0F2F4D #194E80 #236EB3

Accessibility & contrast

On white

13.69
#0F2F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0F2F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F4D
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F4D#FFFFFF#000000##FFFFFF
##0F2F4D1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21314E
Deuteranopia (green-blind)
#182B4C
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2f4d;
/* rgb */ color: rgb(15, 47, 77);
/* oklch */ color: oklch(29.8% 0.066 249.8);
Tailwind
colors: {
  custom: {
    50: '#57677f',
    500: '#0f2f4d',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f4d;
$custom-light: #57677f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f4d",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 77
  },
  "hsl": {
    "h": 209.032,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29848,
    "c": 0.06615,
    "h": 249.8
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#0F2F4D
secondary
#875B31
accent
#913EEA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#03060A
muted
#787A7C

Preview Lab

Preview with #0F2F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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