#0F325C#0F325C

#0F325C is a dark, moderate cyan. Relative luminance 0.032; OKLCH L 31.7% C 0.085 H 255.2°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#0F325C
RGBrgb(15, 50, 92)
HSLhsl(213, 72%, 21%)
HSVhsv(213, 84%, 36%)
CMYKcmyk(83.7%, 45.7%, 0%, 63.9%)
CIE-LABlab(20.65, 4.60, -28.69)
CIE-LCHlch(20.65, 29.06, 279.12°)
OKLaboklab(31.71% -0.0218 -0.0821)
OKLCHoklch(31.71% 0.085 255.2)
XYZxyz(3.2687, 3.1551, 10.5599)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F325C #5C390F
analogous
#0F585C #0F325C #120F5C
triadic
#0F325C #5C0F32 #325C0F
tetradic
#0F325C #5C0F58 #5C390F #0F5C12
square
#0F325C #5C0F58 #5C390F #0F5C12
split-complementary
#0F325C #5C120F #585C0F
monochromatic
#040E1A #061527 #0F325C #184F91 #206BC5

Accessibility & contrast

On white

12.88
#0F325C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F325C
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F325C#FFFFFF#000000##FFFFFF
##0F325C1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D365E
Deuteranopia (green-blind)
#0F2E5B
Tritanopia (blue-blind)
#003C42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0f325c;
/* rgb */ color: rgb(15, 50, 92);
/* oklch */ color: oklch(31.7% 0.085 255.2);
Tailwind
colors: {
  custom: {
    50: '#5b698a',
    500: '#0f325c',
    950: '#000000',
  },
}
SCSS
$custom: #0f325c;
$custom-light: #5b698a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f325c",
  "rgb": {
    "r": 15,
    "g": 50,
    "b": 92
  },
  "hsl": {
    "h": 212.727,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31711,
    "c": 0.08495,
    "h": 255.2
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#0F325C
secondary
#956831
accent
#9C39EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #0F325C

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

Preview Lab → · Contrast checker → · Palette generator →

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