#0F3B5E#0F3B5E

#0F3B5E is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.2% C 0.077 H 247.0°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#0F3B5E
RGBrgb(15, 59, 94)
HSLhsl(207, 72%, 21%)
HSVhsv(207, 84%, 37%)
CMYKcmyk(84%, 37.2%, 0%, 63.1%)
CIE-LABlab(23.79, -0.85, -25.01)
CIE-LCHlch(23.79, 25.02, 268.06°)
OKLaboklab(34.21% -0.0302 -0.0711)
OKLCHoklch(34.21% 0.077 247)
XYZxyz(3.7806, 4.0372, 11.1675)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3B5E #5E320F
analogous
#0F5E5A #0F3B5E #0F145E
triadic
#0F3B5E #5E0F3B #3B5E0F
tetradic
#0F3B5E #5A0F5E #5E320F #145E0F
square
#0F3B5E #5A0F5E #5E320F #145E0F
split-complementary
#0F3B5E #5E0F14 #5E5A0F
monochromatic
#04111A #071A29 #0F3B5E #175C93 #207DC8

Accessibility & contrast

On white

11.62
#0F3B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#0F3B5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3B5E
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3B5E#FFFFFF#000000##FFFFFF
##0F3B5E1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3D5F
Deuteranopia (green-blind)
#1F355D
Tritanopia (blue-blind)
#004348
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0f3b5e;
/* rgb */ color: rgb(15, 59, 94);
/* oklch */ color: oklch(34.2% 0.077 247.0);
Tailwind
colors: {
  custom: {
    50: '#5b708c',
    500: '#0f3b5e',
    950: '#000000',
  },
}
SCSS
$custom: #0f3b5e;
$custom-light: #5b708c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3b5e",
  "rgb": {
    "r": 15,
    "g": 59,
    "b": 94
  },
  "hsl": {
    "h": 206.582,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34208,
    "c": 0.07728,
    "h": 247
  },
  "luminance": 0.04038
}

Semantic roles & 50–950 ramp

primary
#0F3B5E
secondary
#975F31
accent
#8A39EF
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070C
muted
#797A7D

Preview Lab

Preview with #0F3B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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