#0F345F#0F345F

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

Color values

HEX#0F345F
RGBrgb(15, 52, 95)
HSLhsl(212, 73%, 22%)
HSVhsv(212, 84%, 37%)
CMYKcmyk(84.2%, 45.3%, 0%, 62.7%)
CIE-LABlab(21.52, 4.47, -29.28)
CIE-LCHlch(21.52, 29.62, 278.68°)
OKLaboklab(32.45% -0.023 -0.0838)
OKLCHoklch(32.45% 0.087 254.7)
XYZxyz(3.4898, 3.3833, 11.2934)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F345F #5F3A0F
analogous
#0F5C5F #0F345F #120F5F
triadic
#0F345F #5F0F34 #345F0F
tetradic
#0F345F #5F0F5C #5F3A0F #0F5F12
square
#0F345F #5F0F5C #5F3A0F #0F5F12
split-complementary
#0F345F #5F120F #5C5F0F
monochromatic
#040E1A #07172A #0F345F #175194 #206EC9

Accessibility & contrast

On white

12.52
#0F345F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#0F345F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F345F
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F345F#FFFFFF#000000##FFFFFF
##0F345F1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3861
Deuteranopia (green-blind)
#10305E
Tritanopia (blue-blind)
#003E44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0f345f;
/* rgb */ color: rgb(15, 52, 95);
/* oklch */ color: oklch(32.4% 0.087 254.7);
Tailwind
colors: {
  custom: {
    50: '#5c6b8d',
    500: '#0f345f',
    950: '#000000',
  },
}
SCSS
$custom: #0f345f;
$custom-light: #5c6b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f345f",
  "rgb": {
    "r": 15,
    "g": 52,
    "b": 95
  },
  "hsl": {
    "h": 212.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32447,
    "c": 0.08691,
    "h": 254.7
  },
  "luminance": 0.03384
}

Semantic roles & 50–950 ramp

primary
#0F345F
secondary
#986932
accent
#9B38EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #0F345F

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

Preview Lab → · Contrast checker → · Palette generator →

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