#0F2E4D#0F2E4D

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

Color values

HEX#0F2E4D
RGBrgb(15, 46, 77)
HSLhsl(210, 67%, 18%)
HSVhsv(210, 81%, 30%)
CMYKcmyk(80.5%, 40.3%, 0%, 69.8%)
CIE-LABlab(18.33, 1.00, -22.39)
CIE-LCHlch(18.33, 22.41, 272.56°)
OKLaboklab(29.58% -0.0217 -0.0637)
OKLCHoklch(29.58% 0.067 251.2)
XYZxyz(2.5130, 2.5911, 7.3874)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E4D #4D2E0F
analogous
#0F4D4D #0F2E4D #0F0F4D
triadic
#0F2E4D #4D0F2E #2E4D0F
tetradic
#0F2E4D #4D0F4D #4D2E0F #0F4D0F
square
#0F2E4D #4D0F4D #4D2E0F #0F4D0F
split-complementary
#0F2E4D #4D0F0F #4D4D0F
monochromatic
#050F1A #050F1A #0F2E4D #194D80 #236BB3

Accessibility & contrast

On white

13.83
#0F2E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0F2E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2E4D
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E4D#FFFFFF#000000##FFFFFF
##0F2E4D1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304E
Deuteranopia (green-blind)
#172A4C
Tritanopia (blue-blind)
#003539
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2e4d;
/* rgb */ color: rgb(15, 46, 77);
/* oklch */ color: oklch(29.6% 0.067 251.2);
Tailwind
colors: {
  custom: {
    50: '#57667f',
    500: '#0f2e4d',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e4d;
$custom-light: #57667f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e4d",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 77
  },
  "hsl": {
    "h": 210,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29577,
    "c": 0.06731,
    "h": 251.2
  },
  "luminance": 0.02591
}

Semantic roles & 50–950 ramp

primary
#0F2E4D
secondary
#875C31
accent
#943EEA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#03050A
muted
#787A7C

Preview Lab

Preview with #0F2E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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