#0F345E#0F345E

#0F345E is a dark, moderate cyan. Relative luminance 0.034; OKLCH L 32.4% C 0.085 H 254.2°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#0F345E
RGBrgb(15, 52, 94)
HSLhsl(212, 72%, 21%)
HSVhsv(212, 84%, 37%)
CMYKcmyk(84%, 44.7%, 0%, 63.1%)
CIE-LABlab(21.45, 4.04, -28.73)
CIE-LCHlch(21.45, 29.02, 278.00°)
OKLaboklab(32.37% -0.0232 -0.0822)
OKLCHoklch(32.37% 0.085 254.2)
XYZxyz(3.4446, 3.3653, 11.0555)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F345E #5E390F
analogous
#0F5C5E #0F345E #120F5E
triadic
#0F345E #5E0F34 #345E0F
tetradic
#0F345E #5E0F5C #5E390F #0F5E12
square
#0F345E #5E0F5C #5E390F #0F5E12
split-complementary
#0F345E #5E120F #5C5E0F
monochromatic
#040F1A #071729 #0F345E #175193 #206EC8

Accessibility & contrast

On white

12.55
#0F345E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F345E
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F345E#FFFFFF#000000##FFFFFF
##0F345E1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3760
Deuteranopia (green-blind)
#11305D
Tritanopia (blue-blind)
#003E44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0f345e;
/* rgb */ color: rgb(15, 52, 94);
/* oklch */ color: oklch(32.4% 0.085 254.2);
Tailwind
colors: {
  custom: {
    50: '#5b6b8c',
    500: '#0f345e',
    950: '#000000',
  },
}
SCSS
$custom: #0f345e;
$custom-light: #5b6b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f345e",
  "rgb": {
    "r": 15,
    "g": 52,
    "b": 94
  },
  "hsl": {
    "h": 211.899,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32374,
    "c": 0.08541,
    "h": 254.2
  },
  "luminance": 0.03366
}

Semantic roles & 50–950 ramp

primary
#0F345E
secondary
#976831
accent
#9A39EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #0F345E

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

Preview Lab → · Contrast checker → · Palette generator →

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