#0F3257#0F3257

#0F3257 is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.3% C 0.077 H 252.7°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#0F3257
RGBrgb(15, 50, 87)
HSLhsl(211, 71%, 20%)
HSVhsv(211, 83%, 34%)
CMYKcmyk(82.8%, 42.5%, 0%, 65.9%)
CIE-LABlab(20.32, 2.45, -25.91)
CIE-LCHlch(20.32, 26.03, 275.39°)
OKLaboklab(31.35% -0.0231 -0.074)
OKLCHoklch(31.35% 0.077 252.7)
XYZxyz(3.0573, 3.0705, 9.4465)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3257 #57340F
analogous
#0F5657 #0F3257 #100F57
triadic
#0F3257 #570F32 #32570F
tetradic
#0F3257 #570F56 #57340F #0F5710
square
#0F3257 #570F56 #57340F #0F5710
split-complementary
#0F3257 #57100F #56570F
monochromatic
#050F1A #061423 #0F3257 #18508B #216EBF

Accessibility & contrast

On white

13.01
#0F3257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#0F3257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3257
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3257#FFFFFF#000000##FFFFFF
##0F32571.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203558
Deuteranopia (green-blind)
#152E56
Tritanopia (blue-blind)
#003B40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f3257;
/* rgb */ color: rgb(15, 50, 87);
/* oklch */ color: oklch(31.3% 0.077 252.7);
Tailwind
colors: {
  custom: {
    50: '#5a6986',
    500: '#0f3257',
    950: '#000000',
  },
}
SCSS
$custom: #0f3257;
$custom-light: #5a6986;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3257",
  "rgb": {
    "r": 15,
    "g": 50,
    "b": 87
  },
  "hsl": {
    "h": 210.833,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.31347,
    "c": 0.07747,
    "h": 252.7
  },
  "luminance": 0.03071
}

Semantic roles & 50–950 ramp

primary
#0F3257
secondary
#916231
accent
#963AED
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0F3257

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

Preview Lab → · Contrast checker → · Palette generator →

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