#0F3A52#0F3A52

#0F3A52 is a dark, moderate cyan. Relative luminance 0.037; OKLCH L 33.2% C 0.062 H 237.7°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#0F3A52
RGBrgb(15, 58, 82)
HSLhsl(201, 69%, 19%)
HSVhsv(201, 82%, 32%)
CMYKcmyk(81.7%, 29.3%, 0%, 67.8%)
CIE-LABlab(22.78, -5.16, -18.72)
CIE-LCHlch(22.78, 19.42, 254.58°)
OKLaboklab(33.19% -0.0333 -0.0528)
OKLCHoklch(33.19% 0.062 237.7)
XYZxyz(3.2324, 3.7365, 8.5319)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3A52 #52270F
analogous
#0F5249 #0F3A52 #0F1952
triadic
#0F3A52 #520F3A #3A520F
tetradic
#0F3A52 #490F52 #52270F #19520F
square
#0F3A52 #490F52 #52270F #19520F
split-complementary
#0F3A52 #520F19 #52490F
monochromatic
#05121A #06151E #0F3A52 #185F86 #2283B9

Accessibility & contrast

On white

12.02
#0F3A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#0F3A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3A52
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3A52#FFFFFF#000000##FFFFFF
##0F3A521.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f3a52;
/* rgb */ color: rgb(15, 58, 82);
/* oklch */ color: oklch(33.2% 0.062 237.7);
Tailwind
colors: {
  custom: {
    50: '#597082',
    500: '#0f3a52',
    950: '#000000',
  },
}
SCSS
$custom: #0f3a52;
$custom-light: #597082;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3a52",
  "rgb": {
    "r": 15,
    "g": 58,
    "b": 82
  },
  "hsl": {
    "h": 201.493,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.33186,
    "c": 0.06248,
    "h": 237.7
  },
  "luminance": 0.03737
}

Semantic roles & 50–950 ramp

primary
#0F3A52
secondary
#8C5131
accent
#7B3CEC
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070A
muted
#797A7C

Preview Lab

Preview with #0F3A52

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

Preview Lab → · Contrast checker → · Palette generator →

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