#0F345B#0F345B

#0F345B is a dark, moderate cyan. Relative luminance 0.033; OKLCH L 32.2% C 0.081 H 252.8°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#0F345B
RGBrgb(15, 52, 91)
HSLhsl(211, 72%, 21%)
HSVhsv(211, 84%, 36%)
CMYKcmyk(83.5%, 42.9%, 0%, 64.3%)
CIE-LABlab(21.25, 2.74, -27.07)
CIE-LCHlch(21.25, 27.21, 275.79°)
OKLaboklab(32.16% -0.024 -0.0773)
OKLCHoklch(32.16% 0.081 252.8)
XYZxyz(3.3126, 3.3125, 10.3603)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F345B #5B360F
analogous
#0F5A5B #0F345B #100F5B
triadic
#0F345B #5B0F34 #345B0F
tetradic
#0F345B #5B0F5A #5B360F #0F5B10
square
#0F345B #5B0F5A #5B360F #0F5B10
split-complementary
#0F345B #5B100F #5A5B0F
monochromatic
#040F1A #061626 #0F345B #185290 #2070C4

Accessibility & contrast

On white

12.63
#0F345B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#0F345B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F345B
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F345B#FFFFFF#000000##FFFFFF
##0F345B1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21375D
Deuteranopia (green-blind)
#15305A
Tritanopia (blue-blind)
#003D43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0f345b;
/* rgb */ color: rgb(15, 52, 91);
/* oklch */ color: oklch(32.2% 0.081 252.8);
Tailwind
colors: {
  custom: {
    50: '#5b6b89',
    500: '#0f345b',
    950: '#000000',
  },
}
SCSS
$custom: #0f345b;
$custom-light: #5b6b89;
$custom-dark: #000000;
JSON
{
  "hex": "#0f345b",
  "rgb": {
    "r": 15,
    "g": 52,
    "b": 91
  },
  "hsl": {
    "h": 210.789,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32157,
    "c": 0.08097,
    "h": 252.8
  },
  "luminance": 0.03313
}

Semantic roles & 50–950 ramp

primary
#0F345B
secondary
#956431
accent
#9639EE
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0F345B

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

Preview Lab → · Contrast checker → · Palette generator →

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