#0F344F#0F344F

#0F344F is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.3% C 0.064 H 244.2°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#0F344F
RGBrgb(15, 52, 79)
HSLhsl(205, 68%, 18%)
HSVhsv(205, 81%, 31%)
CMYKcmyk(81%, 34.2%, 0%, 69%)
CIE-LABlab(20.52, -2.36, -20.26)
CIE-LCHlch(20.52, 20.40, 263.36°)
OKLaboklab(31.35% -0.0277 -0.0574)
OKLCHoklch(31.35% 0.064 244.2)
XYZxyz(2.8357, 3.1217, 7.8487)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F344F #4F2A0F
analogous
#0F4F4A #0F344F #0F144F
triadic
#0F344F #4F0F34 #344F0F
tetradic
#0F344F #4A0F4F #4F2A0F #144F0F
square
#0F344F #4A0F4F #4F2A0F #144F0F
split-complementary
#0F344F #4F0F14 #4F4A0F
monochromatic
#05111A #05121C #0F344F #195682 #2378B6

Accessibility & contrast

On white

12.93
#0F344F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#0F344F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F344F
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F344F#FFFFFF#000000##FFFFFF
##0F344F1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283550
Deuteranopia (green-blind)
#1F2F4E
Tritanopia (blue-blind)
#003B3E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f344f;
/* rgb */ color: rgb(15, 52, 79);
/* oklch */ color: oklch(31.3% 0.064 244.2);
Tailwind
colors: {
  custom: {
    50: '#586b80',
    500: '#0f344f',
    950: '#000000',
  },
}
SCSS
$custom: #0f344f;
$custom-light: #586b80;
$custom-dark: #000000;
JSON
{
  "hex": "#0f344f",
  "rgb": {
    "r": 15,
    "g": 52,
    "b": 79
  },
  "hsl": {
    "h": 205.313,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.31346,
    "c": 0.06375,
    "h": 244.2
  },
  "luminance": 0.03122
}

Semantic roles & 50–950 ramp

primary
#0F344F
secondary
#895631
accent
#863DEB
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0F344F

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

Preview Lab → · Contrast checker → · Palette generator →

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