#0F345C#0F345C

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

Color values

HEX#0F345C
RGBrgb(15, 52, 92)
HSLhsl(211, 72%, 21%)
HSVhsv(211, 84%, 36%)
CMYKcmyk(83.7%, 43.5%, 0%, 63.9%)
CIE-LABlab(21.32, 3.17, -27.63)
CIE-LCHlch(21.32, 27.81, 276.55°)
OKLaboklab(32.23% -0.0237 -0.079)
OKLCHoklch(32.23% 0.082 253.3)
XYZxyz(3.3560, 3.3299, 10.5890)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F345C #5C370F
analogous
#0F5A5C #0F345C #100F5C
triadic
#0F345C #5C0F34 #345C0F
tetradic
#0F345C #5C0F5A #5C370F #0F5C10
square
#0F345C #5C0F5A #5C370F #0F5C10
split-complementary
#0F345C #5C100F #5A5C0F
monochromatic
#040F1A #061627 #0F345C #185291 #206FC5

Accessibility & contrast

On white

12.61
#0F345C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F345C
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F345C#FFFFFF#000000##FFFFFF
##0F345C1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21375E
Deuteranopia (green-blind)
#14305B
Tritanopia (blue-blind)
#003D43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0f345c;
/* rgb */ color: rgb(15, 52, 92);
/* oklch */ color: oklch(32.2% 0.082 253.3);
Tailwind
colors: {
  custom: {
    50: '#5b6b8a',
    500: '#0f345c',
    950: '#000000',
  },
}
SCSS
$custom: #0f345c;
$custom-light: #5b6b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f345c",
  "rgb": {
    "r": 15,
    "g": 52,
    "b": 92
  },
  "hsl": {
    "h": 211.169,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32228,
    "c": 0.08245,
    "h": 253.3
  },
  "luminance": 0.0333
}

Semantic roles & 50–950 ramp

primary
#0F345C
secondary
#956531
accent
#9739EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #0F345C

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

Preview Lab → · Contrast checker → · Palette generator →

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