#0F3152#0F3152

#0F3152 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.7% C 0.071 H 250.8°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#0F3152
RGBrgb(15, 49, 82)
HSLhsl(210, 69%, 19%)
HSVhsv(210, 82%, 32%)
CMYKcmyk(81.7%, 40.2%, 0%, 67.8%)
CIE-LABlab(19.67, 1.01, -23.62)
CIE-LCHlch(19.67, 23.64, 272.44°)
OKLaboklab(30.73% -0.0235 -0.0673)
OKLCHoklch(30.73% 0.071 250.8)
XYZxyz(2.8177, 2.9071, 8.3936)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3152 #52300F
analogous
#0F5252 #0F3152 #0F1052
triadic
#0F3152 #520F31 #31520F
tetradic
#0F3152 #520F52 #52300F #10520F
square
#0F3152 #520F52 #52300F #10520F
split-complementary
#0F3152 #520F10 #52520F
monochromatic
#050F1A #06121E #0F3152 #185086 #226FB9

Accessibility & contrast

On white

13.28
#0F3152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#0F3152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3152
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3152#FFFFFF#000000##FFFFFF
##0F31521.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223353
Deuteranopia (green-blind)
#182D51
Tritanopia (blue-blind)
#00393D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f3152;
/* rgb */ color: rgb(15, 49, 82);
/* oklch */ color: oklch(30.7% 0.071 250.8);
Tailwind
colors: {
  custom: {
    50: '#586883',
    500: '#0f3152',
    950: '#000000',
  },
}
SCSS
$custom: #0f3152;
$custom-light: #586883;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3152",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 82
  },
  "hsl": {
    "h": 209.552,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3073,
    "c": 0.07124,
    "h": 250.8
  },
  "luminance": 0.02907
}

Semantic roles & 50–950 ramp

primary
#0F3152
secondary
#8C5E31
accent
#933CEC
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0F3152

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

Preview Lab → · Contrast checker → · Palette generator →

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