#0F3252#0F3252

#0F3252 is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.0% C 0.070 H 249.5°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#0F3252
RGBrgb(15, 50, 82)
HSLhsl(209, 69%, 19%)
HSVhsv(209, 82%, 32%)
CMYKcmyk(81.7%, 39%, 0%, 67.8%)
CIE-LABlab(20.01, 0.30, -23.08)
CIE-LCHlch(20.01, 23.08, 270.75°)
OKLaboklab(31% -0.0245 -0.0657)
OKLCHoklch(31% 0.07 249.5)
XYZxyz(2.8600, 2.9916, 8.4077)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3252 #522F0F
analogous
#0F5251 #0F3252 #0F1152
triadic
#0F3252 #520F32 #32520F
tetradic
#0F3252 #510F52 #522F0F #11520F
square
#0F3252 #510F52 #522F0F #11520F
split-complementary
#0F3252 #520F11 #52510F
monochromatic
#05101A #06121E #0F3252 #185286 #2271B9

Accessibility & contrast

On white

13.14
#0F3252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0F3252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3252
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3252#FFFFFF#000000##FFFFFF
##0F32521.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233453
Deuteranopia (green-blind)
#192E51
Tritanopia (blue-blind)
#003A3E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f3252;
/* rgb */ color: rgb(15, 50, 82);
/* oklch */ color: oklch(31.0% 0.070 249.5);
Tailwind
colors: {
  custom: {
    50: '#586983',
    500: '#0f3252',
    950: '#000000',
  },
}
SCSS
$custom: #0f3252;
$custom-light: #586983;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3252",
  "rgb": {
    "r": 15,
    "g": 50,
    "b": 82
  },
  "hsl": {
    "h": 208.657,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30999,
    "c": 0.07009,
    "h": 249.5
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#0F3252
secondary
#8C5C31
accent
#903CEC
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0F3252

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

Preview Lab → · Contrast checker → · Palette generator →

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