#0F325B#0F325B

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

Color values

HEX#0F325B
RGBrgb(15, 50, 91)
HSLhsl(212, 72%, 21%)
HSVhsv(212, 84%, 36%)
CMYKcmyk(83.5%, 45.1%, 0%, 64.3%)
CIE-LABlab(20.59, 4.17, -28.14)
CIE-LCHlch(20.59, 28.45, 278.43°)
OKLaboklab(31.64% -0.022 -0.0805)
OKLCHoklch(31.64% 0.083 254.7)
XYZxyz(3.2252, 3.1377, 10.3312)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F325B #5B380F
analogous
#0F585B #0F325B #120F5B
triadic
#0F325B #5B0F32 #325B0F
tetradic
#0F325B #5B0F58 #5B380F #0F5B12
square
#0F325B #5B0F58 #5B380F #0F5B12
split-complementary
#0F325B #5B120F #585B0F
monochromatic
#040E1A #061526 #0F325B #184F90 #206CC4

Accessibility & contrast

On white

12.90
#0F325B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#0F325B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F325B
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F325B#FFFFFF#000000##FFFFFF
##0F325B1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E355D
Deuteranopia (green-blind)
#102E5A
Tritanopia (blue-blind)
#003C42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0f325b;
/* rgb */ color: rgb(15, 50, 91);
/* oklch */ color: oklch(31.6% 0.083 254.7);
Tailwind
colors: {
  custom: {
    50: '#5b698a',
    500: '#0f325b',
    950: '#000000',
  },
}
SCSS
$custom: #0f325b;
$custom-light: #5b698a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f325b",
  "rgb": {
    "r": 15,
    "g": 50,
    "b": 91
  },
  "hsl": {
    "h": 212.368,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31637,
    "c": 0.08345,
    "h": 254.7
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#0F325B
secondary
#956731
accent
#9B39EE
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0F325B

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

Preview Lab → · Contrast checker → · Palette generator →

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