#0F3A5C#0F3A5C

#0F3A5C is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 33.8% C 0.076 H 246.8°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#0F3A5C
RGBrgb(15, 58, 92)
HSLhsl(206, 72%, 21%)
HSVhsv(206, 84%, 36%)
CMYKcmyk(83.7%, 37%, 0%, 63.9%)
CIE-LABlab(23.34, -1.01, -24.42)
CIE-LCHlch(23.34, 24.44, 267.64°)
OKLaboklab(33.81% -0.0298 -0.0694)
OKLCHoklch(33.81% 0.076 246.8)
XYZxyz(3.6411, 3.8999, 10.6840)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3A5C #5C310F
analogous
#0F5C57 #0F3A5C #0F135C
triadic
#0F3A5C #5C0F3A #3A5C0F
tetradic
#0F3A5C #570F5C #5C310F #135C0F
square
#0F3A5C #570F5C #5C310F #135C0F
split-complementary
#0F3A5C #5C0F13 #5C570F
monochromatic
#04111A #061927 #0F3A5C #185B91 #207CC5

Accessibility & contrast

On white

11.80
#0F3A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#0F3A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3A5C
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3A5C#FFFFFF#000000##FFFFFF
##0F3A5C1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3B5D
Deuteranopia (green-blind)
#1F345B
Tritanopia (blue-blind)
#004246
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0f3a5c;
/* rgb */ color: rgb(15, 58, 92);
/* oklch */ color: oklch(33.8% 0.076 246.8);
Tailwind
colors: {
  custom: {
    50: '#5b6f8a',
    500: '#0f3a5c',
    950: '#000000',
  },
}
SCSS
$custom: #0f3a5c;
$custom-light: #5b6f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3a5c",
  "rgb": {
    "r": 15,
    "g": 58,
    "b": 92
  },
  "hsl": {
    "h": 206.494,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3381,
    "c": 0.07557,
    "h": 246.8
  },
  "luminance": 0.039
}

Semantic roles & 50–950 ramp

primary
#0F3A5C
secondary
#955E31
accent
#8939EF
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070C
muted
#797A7D

Preview Lab

Preview with #0F3A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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