#0F345D#0F345D

#0F345D is a dark, moderate cyan. Relative luminance 0.033; OKLCH L 32.3% C 0.084 H 253.8°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#0F345D
RGBrgb(15, 52, 93)
HSLhsl(212, 72%, 21%)
HSVhsv(212, 84%, 36%)
CMYKcmyk(83.9%, 44.1%, 0%, 63.5%)
CIE-LABlab(21.39, 3.60, -28.18)
CIE-LCHlch(21.39, 28.41, 277.29°)
OKLaboklab(32.3% -0.0235 -0.0806)
OKLCHoklch(32.3% 0.084 253.8)
XYZxyz(3.4000, 3.3475, 10.8207)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F345D #5D380F
analogous
#0F5B5D #0F345D #110F5D
triadic
#0F345D #5D0F34 #345D0F
tetradic
#0F345D #5D0F5B #5D380F #0F5D11
square
#0F345D #5D0F5B #5D380F #0F5D11
split-complementary
#0F345D #5D110F #5B5D0F
monochromatic
#040F1A #061728 #0F345D #175192 #206FC6

Accessibility & contrast

On white

12.58
#0F345D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#0F345D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F345D
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F345D#FFFFFF#000000##FFFFFF
##0F345D1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20375F
Deuteranopia (green-blind)
#13305C
Tritanopia (blue-blind)
#003E44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0f345d;
/* rgb */ color: rgb(15, 52, 93);
/* oklch */ color: oklch(32.3% 0.084 253.8);
Tailwind
colors: {
  custom: {
    50: '#5b6b8b',
    500: '#0f345d',
    950: '#000000',
  },
}
SCSS
$custom: #0f345d;
$custom-light: #5b6b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f345d",
  "rgb": {
    "r": 15,
    "g": 52,
    "b": 93
  },
  "hsl": {
    "h": 211.538,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32301,
    "c": 0.08394,
    "h": 253.8
  },
  "luminance": 0.03348
}

Semantic roles & 50–950 ramp

primary
#0F345D
secondary
#966631
accent
#9939EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #0F345D

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

Preview Lab → · Contrast checker → · Palette generator →

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