#0F344E#0F344E

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

Color values

HEX#0F344E
RGBrgb(15, 52, 78)
HSLhsl(205, 68%, 18%)
HSVhsv(205, 81%, 31%)
CMYKcmyk(80.8%, 33.3%, 0%, 69.4%)
CIE-LABlab(20.47, -2.78, -19.68)
CIE-LCHlch(20.47, 19.88, 261.97°)
OKLaboklab(31.28% -0.0281 -0.0557)
OKLCHoklch(31.28% 0.062 243.2)
XYZxyz(2.7996, 3.1073, 7.6585)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F344E #4E290F
analogous
#0F4E48 #0F344E #0F144E
triadic
#0F344E #4E0F34 #344E0F
tetradic
#0F344E #480F4E #4E290F #144E0F
square
#0F344E #480F4E #4E290F #144E0F
split-complementary
#0F344E #4E0F14 #4E480F
monochromatic
#05111A #05121B #0F344E #195681 #2378B5

Accessibility & contrast

On white

12.95
#0F344E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F344E
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F344E#FFFFFF#000000##FFFFFF
##0F344E1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28354F
Deuteranopia (green-blind)
#1F2F4E
Tritanopia (blue-blind)
#003A3D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f344e;
/* rgb */ color: rgb(15, 52, 78);
/* oklch */ color: oklch(31.3% 0.062 243.2);
Tailwind
colors: {
  custom: {
    50: '#586b7f',
    500: '#0f344e',
    950: '#000000',
  },
}
SCSS
$custom: #0f344e;
$custom-light: #586b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f344e",
  "rgb": {
    "r": 15,
    "g": 52,
    "b": 78
  },
  "hsl": {
    "h": 204.762,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.31283,
    "c": 0.0624,
    "h": 243.2
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#0F344E
secondary
#885531
accent
#853DEB
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0F344E

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

Preview Lab → · Contrast checker → · Palette generator →

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