#0F2C4A#0F2C4A

#0F2C4A is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 28.8% C 0.065 H 251.8°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#0F2C4A
RGBrgb(15, 44, 74)
HSLhsl(211, 66%, 17%)
HSVhsv(211, 80%, 29%)
CMYKcmyk(79.7%, 40.5%, 0%, 71%)
CIE-LABlab(17.45, 1.15, -21.75)
CIE-LCHlch(17.45, 21.78, 273.03°)
OKLaboklab(28.83% -0.0204 -0.0619)
OKLCHoklch(28.83% 0.065 251.8)
XYZxyz(2.3333, 2.3971, 6.8170)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C4A #4A2D0F
analogous
#0F4A4A #0F2C4A #0F0F4A
triadic
#0F2C4A #4A0F2C #2C4A0F
tetradic
#0F2C4A #4A0F4A #4A2D0F #0F4A0F
square
#0F2C4A #4A0F4A #4A2D0F #0F4A0F
split-complementary
#0F2C4A #4A0F0F #4A4A0F
monochromatic
#050F19 #050F19 #0F2C4A #194A7D #2469B0

Accessibility & contrast

On white

14.19
#0F2C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0F2C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2C4A
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C4A#FFFFFF#000000##FFFFFF
##0F2C4A1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2E4B
Deuteranopia (green-blind)
#162849
Tritanopia (blue-blind)
#003337
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f2c4a;
/* rgb */ color: rgb(15, 44, 74);
/* oklch */ color: oklch(28.8% 0.065 251.8);
Tailwind
colors: {
  custom: {
    50: '#56647c',
    500: '#0f2c4a',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c4a;
$custom-light: #56647c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c4a",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 74
  },
  "hsl": {
    "h": 210.508,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28828,
    "c": 0.06514,
    "h": 251.8
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#0F2C4A
secondary
#845B30
accent
#953FE9
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#030509
muted
#78797B

Preview Lab

Preview with #0F2C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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