#0F3A5A#0F3A5A

#0F3A5A is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 33.7% C 0.073 H 245.3°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#0F3A5A
RGBrgb(15, 58, 90)
HSLhsl(206, 71%, 21%)
HSVhsv(206, 83%, 35%)
CMYKcmyk(83.3%, 35.6%, 0%, 64.7%)
CIE-LABlab(23.22, -1.85, -23.30)
CIE-LCHlch(23.22, 23.37, 265.47°)
OKLaboklab(33.68% -0.0305 -0.0662)
OKLCHoklch(33.68% 0.073 245.3)
XYZxyz(3.5548, 3.8654, 10.2296)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3A5A #5A2F0F
analogous
#0F5A54 #0F3A5A #0F145A
triadic
#0F3A5A #5A0F3A #3A5A0F
tetradic
#0F3A5A #540F5A #5A2F0F #145A0F
square
#0F3A5A #540F5A #5A2F0F #145A0F
split-complementary
#0F3A5A #5A0F14 #5A540F
monochromatic
#04111A #061826 #0F3A5A #185C8E #207EC3

Accessibility & contrast

On white

11.84
#0F3A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#0F3A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3A5A
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3A5A#FFFFFF#000000##FFFFFF
##0F3A5A1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3B5B
Deuteranopia (green-blind)
#213459
Tritanopia (blue-blind)
#004245
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f3a5a;
/* rgb */ color: rgb(15, 58, 90);
/* oklch */ color: oklch(33.7% 0.073 245.3);
Tailwind
colors: {
  custom: {
    50: '#5a6f89',
    500: '#0f3a5a',
    950: '#000000',
  },
}
SCSS
$custom: #0f3a5a;
$custom-light: #5a6f89;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3a5a",
  "rgb": {
    "r": 15,
    "g": 58,
    "b": 90
  },
  "hsl": {
    "h": 205.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3368,
    "c": 0.07284,
    "h": 245.3
  },
  "luminance": 0.03866
}

Semantic roles & 50–950 ramp

primary
#0F3A5A
secondary
#945B31
accent
#873AEE
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070B
muted
#797A7C

Preview Lab

Preview with #0F3A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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