#0F3A51#0F3A51

#0F3A51 is a dark, moderate cyan. Relative luminance 0.037; OKLCH L 33.1% C 0.061 H 236.6°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#0F3A51
RGBrgb(15, 58, 81)
HSLhsl(201, 69%, 19%)
HSVhsv(201, 81%, 32%)
CMYKcmyk(81.5%, 28.4%, 0%, 68.2%)
CIE-LABlab(22.73, -5.57, -18.14)
CIE-LCHlch(22.73, 18.98, 252.93°)
OKLaboklab(33.13% -0.0337 -0.0512)
OKLCHoklch(33.13% 0.061 236.6)
XYZxyz(3.1947, 3.7214, 8.3329)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3A51 #51260F
analogous
#0F5147 #0F3A51 #0F1951
triadic
#0F3A51 #510F3A #3A510F
tetradic
#0F3A51 #470F51 #51260F #19510F
square
#0F3A51 #470F51 #51260F #19510F
split-complementary
#0F3A51 #510F19 #51470F
monochromatic
#05121A #05151D #0F3A51 #195F85 #2284B8

Accessibility & contrast

On white

12.04
#0F3A51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#0F3A51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3A51
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3A51#FFFFFF#000000##FFFFFF
##0F3A511.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3A52
Deuteranopia (green-blind)
#263351
Tritanopia (blue-blind)
#004042
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0f3a51;
/* rgb */ color: rgb(15, 58, 81);
/* oklch */ color: oklch(33.1% 0.061 236.6);
Tailwind
colors: {
  custom: {
    50: '#587082',
    500: '#0f3a51',
    950: '#000000',
  },
}
SCSS
$custom: #0f3a51;
$custom-light: #587082;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3a51",
  "rgb": {
    "r": 15,
    "g": 58,
    "b": 81
  },
  "hsl": {
    "h": 200.909,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.33128,
    "c": 0.06128,
    "h": 236.6
  },
  "luminance": 0.03722
}

Semantic roles & 50–950 ramp

primary
#0F3A51
secondary
#8B5031
accent
#793CEC
background
#F5F6F7
surface
#E9ECEE
border
#C5C7C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #0F3A51

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

Preview Lab → · Contrast checker → · Palette generator →

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