#0F2A4A#0F2A4A

#0F2A4A is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.3% C 0.068 H 254.4°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#0F2A4A
RGBrgb(15, 42, 74)
HSLhsl(213, 66%, 17%)
HSVhsv(213, 80%, 29%)
CMYKcmyk(79.7%, 43.2%, 0%, 71%)
CIE-LABlab(16.76, 2.60, -22.85)
CIE-LCHlch(16.76, 22.99, 276.49°)
OKLaboklab(28.29% -0.0181 -0.0651)
OKLCHoklch(28.29% 0.068 254.4)
XYZxyz(2.2605, 2.2517, 6.7927)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A4A #4A2F0F
analogous
#0F484A #0F2A4A #110F4A
triadic
#0F2A4A #4A0F2A #2A4A0F
tetradic
#0F2A4A #4A0F48 #4A2F0F #0F4A11
square
#0F2A4A #4A0F48 #4A2F0F #0F4A11
split-complementary
#0F2A4A #4A110F #484A0F
monochromatic
#050E19 #050E19 #0F2A4A #19477D #2464B0

Accessibility & contrast

On white

14.48
#0F2A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0F2A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A4A
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A4A#FFFFFF#000000##FFFFFF
##0F2A4A1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2C4B
Deuteranopia (green-blind)
#122749
Tritanopia (blue-blind)
#003136
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2a4a;
/* rgb */ color: rgb(15, 42, 74);
/* oklch */ color: oklch(28.3% 0.068 254.4);
Tailwind
colors: {
  custom: {
    50: '#56637d',
    500: '#0f2a4a',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a4a;
$custom-light: #56637d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a4a",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 74
  },
  "hsl": {
    "h": 212.542,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28288,
    "c": 0.0676,
    "h": 254.4
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#0F2A4A
secondary
#845E30
accent
#9B3FE9
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#030509
muted
#78797B

Preview Lab

Preview with #0F2A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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