#0F344D#0F344D

#0F344D is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.2% C 0.061 H 242.2°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#0F344D
RGBrgb(15, 52, 77)
HSLhsl(204, 67%, 18%)
HSVhsv(204, 81%, 30%)
CMYKcmyk(80.5%, 32.5%, 0%, 69.8%)
CIE-LABlab(20.41, -3.19, -19.10)
CIE-LCHlch(20.41, 19.36, 260.51°)
OKLaboklab(31.22% -0.0285 -0.054)
OKLCHoklch(31.22% 0.061 242.2)
XYZxyz(2.7640, 3.0930, 7.4711)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F344D #4D280F
analogous
#0F4D47 #0F344D #0F154D
triadic
#0F344D #4D0F34 #344D0F
tetradic
#0F344D #470F4D #4D280F #154D0F
square
#0F344D #470F4D #4D280F #154D0F
split-complementary
#0F344D #4D0F15 #4D470F
monochromatic
#05111A #05111A #0F344D #195780 #2379B3

Accessibility & contrast

On white

12.97
#0F344D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#0F344D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F344D
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F344D#FFFFFF#000000##FFFFFF
##0F344D1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28344E
Deuteranopia (green-blind)
#202F4D
Tritanopia (blue-blind)
#003A3D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f344d;
/* rgb */ color: rgb(15, 52, 77);
/* oklch */ color: oklch(31.2% 0.061 242.2);
Tailwind
colors: {
  custom: {
    50: '#576b7f',
    500: '#0f344d',
    950: '#000000',
  },
}
SCSS
$custom: #0f344d;
$custom-light: #576b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f344d",
  "rgb": {
    "r": 15,
    "g": 52,
    "b": 77
  },
  "hsl": {
    "h": 204.194,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.31221,
    "c": 0.06105,
    "h": 242.2
  },
  "luminance": 0.03093
}

Semantic roles & 50–950 ramp

primary
#0F344D
secondary
#875431
accent
#833EEA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0F344D

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

Preview Lab → · Contrast checker → · Palette generator →

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