#0F334A#0F334A

#0F334A is a dark, muted cyan. Relative luminance 0.030; OKLCH L 30.8% C 0.058 H 240.6°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#0F334A
RGBrgb(15, 51, 74)
HSLhsl(203, 66%, 17%)
HSVhsv(203, 80%, 29%)
CMYKcmyk(79.7%, 31.1%, 0%, 71%)
CIE-LABlab(19.90, -3.76, -17.89)
CIE-LCHlch(19.90, 18.28, 258.15°)
OKLaboklab(30.76% -0.0284 -0.0505)
OKLCHoklch(30.76% 0.058 240.6)
XYZxyz(2.6164, 2.9633, 6.9113)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F334A #4A260F
analogous
#0F4A44 #0F334A #0F154A
triadic
#0F334A #4A0F33 #334A0F
tetradic
#0F334A #440F4A #4A260F #154A0F
square
#0F334A #440F4A #4A260F #154A0F
split-complementary
#0F334A #4A0F15 #4A440F
monochromatic
#051219 #051219 #0F334A #19567D #2479B0

Accessibility & contrast

On white

13.18
#0F334A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#0F334A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F334A
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F334A#FFFFFF#000000##FFFFFF
##0F334A1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28334B
Deuteranopia (green-blind)
#202E4A
Tritanopia (blue-blind)
#00393B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f334a;
/* rgb */ color: rgb(15, 51, 74);
/* oklch */ color: oklch(30.8% 0.058 240.6);
Tailwind
colors: {
  custom: {
    50: '#576a7c',
    500: '#0f334a',
    950: '#000000',
  },
}
SCSS
$custom: #0f334a;
$custom-light: #576a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f334a",
  "rgb": {
    "r": 15,
    "g": 51,
    "b": 74
  },
  "hsl": {
    "h": 203.39,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.30758,
    "c": 0.05798,
    "h": 240.6
  },
  "luminance": 0.02964
}

Semantic roles & 50–950 ramp

primary
#0F334A
secondary
#845130
accent
#813FE9
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#030609
muted
#787A7B

Preview Lab

Preview with #0F334A

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

Preview Lab → · Contrast checker → · Palette generator →

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