#0F2F4A#0F2F4A

#0F2F4A is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.6% C 0.062 H 247.3°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#0F2F4A
RGBrgb(15, 47, 74)
HSLhsl(207, 66%, 17%)
HSVhsv(207, 80%, 29%)
CMYKcmyk(79.7%, 36.5%, 0%, 71%)
CIE-LABlab(18.49, -0.99, -20.10)
CIE-LCHlch(18.49, 20.12, 267.19°)
OKLaboklab(29.65% -0.0238 -0.057)
OKLCHoklch(29.65% 0.062 247.3)
XYZxyz(2.4491, 2.6287, 6.8556)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F4A #4A2A0F
analogous
#0F4A48 #0F2F4A #0F114A
triadic
#0F2F4A #4A0F2F #2F4A0F
tetradic
#0F2F4A #480F4A #4A2A0F #114A0F
square
#0F2F4A #480F4A #4A2A0F #114A0F
split-complementary
#0F2F4A #4A0F11 #4A480F
monochromatic
#051019 #051019 #0F2F4A #194F7D #2470B0

Accessibility & contrast

On white

13.76
#0F2F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2F4A
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F4A#FFFFFF#000000##FFFFFF
##0F2F4A1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23304B
Deuteranopia (green-blind)
#1A2B49
Tritanopia (blue-blind)
#003539
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2f4a;
/* rgb */ color: rgb(15, 47, 74);
/* oklch */ color: oklch(29.6% 0.062 247.3);
Tailwind
colors: {
  custom: {
    50: '#56677c',
    500: '#0f2f4a',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f4a;
$custom-light: #56677c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f4a",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 74
  },
  "hsl": {
    "h": 207.458,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29648,
    "c": 0.06177,
    "h": 247.3
  },
  "luminance": 0.02629
}

Semantic roles & 50–950 ramp

primary
#0F2F4A
secondary
#845730
accent
#8D3FE9
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#030609
muted
#787A7B

Preview Lab

Preview with #0F2F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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