#0F3B5C#0F3B5C

#0F3B5C is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.1% C 0.075 H 245.6°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#0F3B5C
RGBrgb(15, 59, 92)
HSLhsl(206, 72%, 21%)
HSVhsv(206, 84%, 36%)
CMYKcmyk(83.7%, 35.9%, 0%, 63.9%)
CIE-LABlab(23.68, -1.69, -23.89)
CIE-LCHlch(23.68, 23.95, 265.96°)
OKLaboklab(34.08% -0.0308 -0.0679)
OKLCHoklch(34.08% 0.075 245.6)
XYZxyz(3.6920, 4.0018, 10.7010)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3B5C #5C300F
analogous
#0F5C56 #0F3B5C #0F145C
triadic
#0F3B5C #5C0F3B #3B5C0F
tetradic
#0F3B5C #560F5C #5C300F #145C0F
square
#0F3B5C #560F5C #5C300F #145C0F
split-complementary
#0F3B5C #5C0F14 #5C560F
monochromatic
#04111A #061927 #0F3B5C #185D91 #207EC5

Accessibility & contrast

On white

11.66
#0F3B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#0F3B5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3B5C
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3B5C#FFFFFF#000000##FFFFFF
##0F3B5C1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3C5D
Deuteranopia (green-blind)
#21355B
Tritanopia (blue-blind)
#004347
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0f3b5c;
/* rgb */ color: rgb(15, 59, 92);
/* oklch */ color: oklch(34.1% 0.075 245.6);
Tailwind
colors: {
  custom: {
    50: '#5b708a',
    500: '#0f3b5c',
    950: '#000000',
  },
}
SCSS
$custom: #0f3b5c;
$custom-light: #5b708a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3b5c",
  "rgb": {
    "r": 15,
    "g": 59,
    "b": 92
  },
  "hsl": {
    "h": 205.714,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.34078,
    "c": 0.07455,
    "h": 245.6
  },
  "luminance": 0.04002
}

Semantic roles & 50–950 ramp

primary
#0F3B5C
secondary
#955C31
accent
#8739EF
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070B
muted
#797A7C

Preview Lab

Preview with #0F3B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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