#0F325A#0F325A

#0F325A is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.6% C 0.082 H 254.2°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#0F325A
RGBrgb(15, 50, 90)
HSLhsl(212, 71%, 21%)
HSVhsv(212, 83%, 35%)
CMYKcmyk(83.3%, 44.4%, 0%, 64.7%)
CIE-LABlab(20.52, 3.74, -27.59)
CIE-LCHlch(20.52, 27.84, 277.72°)
OKLaboklab(31.56% -0.0223 -0.0789)
OKLCHoklch(31.56% 0.082 254.2)
XYZxyz(3.1824, 3.1206, 10.1055)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F325A #5A370F
analogous
#0F575A #0F325A #110F5A
triadic
#0F325A #5A0F32 #325A0F
tetradic
#0F325A #5A0F57 #5A370F #0F5A11
square
#0F325A #5A0F57 #5A370F #0F5A11
split-complementary
#0F325A #5A110F #575A0F
monochromatic
#040F1A #061526 #0F325A #184F8E #206CC3

Accessibility & contrast

On white

12.93
#0F325A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#0F325A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F325A
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F325A#FFFFFF#000000##FFFFFF
##0F325A1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F355C
Deuteranopia (green-blind)
#122E59
Tritanopia (blue-blind)
#003B41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f325a;
/* rgb */ color: rgb(15, 50, 90);
/* oklch */ color: oklch(31.6% 0.082 254.2);
Tailwind
colors: {
  custom: {
    50: '#5a6989',
    500: '#0f325a',
    950: '#000000',
  },
}
SCSS
$custom: #0f325a;
$custom-light: #5a6989;
$custom-dark: #000000;
JSON
{
  "hex": "#0f325a",
  "rgb": {
    "r": 15,
    "g": 50,
    "b": 90
  },
  "hsl": {
    "h": 212,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31563,
    "c": 0.08195,
    "h": 254.2
  },
  "luminance": 0.03121
}

Semantic roles & 50–950 ramp

primary
#0F325A
secondary
#946631
accent
#9A3AEE
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0F325A

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

Preview Lab → · Contrast checker → · Palette generator →

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