#0F2C4B#0F2C4B

#0F2C4B is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 28.9% C 0.067 H 252.5°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#0F2C4B
RGBrgb(15, 44, 75)
HSLhsl(211, 67%, 18%)
HSVhsv(211, 80%, 29%)
CMYKcmyk(80%, 41.3%, 0%, 70.6%)
CIE-LABlab(17.51, 1.58, -22.33)
CIE-LCHlch(17.51, 22.38, 274.04°)
OKLaboklab(28.9% -0.0201 -0.0636)
OKLCHoklch(28.9% 0.067 252.5)
XYZxyz(2.3672, 2.4107, 6.9958)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C4B #4B2E0F
analogous
#0F4A4B #0F2C4B #100F4B
triadic
#0F2C4B #4B0F2C #2C4B0F
tetradic
#0F2C4B #4B0F4A #4B2E0F #0F4B10
square
#0F2C4B #4B0F4A #4B2E0F #0F4B10
split-complementary
#0F2C4B #4B100F #4A4B0F
monochromatic
#050F1A #050F1A #0F2C4B #194A7E #2368B1

Accessibility & contrast

On white

14.17
#0F2C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2C4B
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C4B#FFFFFF#000000##FFFFFF
##0F2C4B1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2E4C
Deuteranopia (green-blind)
#15284A
Tritanopia (blue-blind)
#003337
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f2c4b;
/* rgb */ color: rgb(15, 44, 75);
/* oklch */ color: oklch(28.9% 0.067 252.5);
Tailwind
colors: {
  custom: {
    50: '#57647d',
    500: '#0f2c4b',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c4b;
$custom-light: #57647d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c4b",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 75
  },
  "hsl": {
    "h": 211,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28898,
    "c": 0.06667,
    "h": 252.5
  },
  "luminance": 0.02411
}

Semantic roles & 50–950 ramp

primary
#0F2C4B
secondary
#855C30
accent
#973EEA
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#030509
muted
#78797B

Preview Lab

Preview with #0F2C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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