#0F3B5A#0F3B5A

#0F3B5A is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.0% C 0.072 H 244.0°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#0F3B5A
RGBrgb(15, 59, 90)
HSLhsl(205, 71%, 21%)
HSVhsv(205, 83%, 35%)
CMYKcmyk(83.3%, 34.4%, 0%, 64.7%)
CIE-LABlab(23.56, -2.52, -22.76)
CIE-LCHlch(23.56, 22.90, 263.67°)
OKLaboklab(33.95% -0.0315 -0.0646)
OKLCHoklch(33.95% 0.072 244)
XYZxyz(3.6057, 3.9672, 10.2466)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3B5A #5A2E0F
analogous
#0F5A53 #0F3B5A #0F155A
triadic
#0F3B5A #5A0F3B #3B5A0F
tetradic
#0F3B5A #530F5A #5A2E0F #155A0F
square
#0F3B5A #530F5A #5A2E0F #155A0F
split-complementary
#0F3B5A #5A0F15 #5A530F
monochromatic
#04111A #061926 #0F3B5A #185D8E #2080C3

Accessibility & contrast

On white

11.71
#0F3B5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#0F3B5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3B5A
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3B5A#FFFFFF#000000##FFFFFF
##0F3B5A1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3C5B
Deuteranopia (green-blind)
#223559
Tritanopia (blue-blind)
#004346
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0f3b5a;
/* rgb */ color: rgb(15, 59, 90);
/* oklch */ color: oklch(34.0% 0.072 244.0);
Tailwind
colors: {
  custom: {
    50: '#5b7089',
    500: '#0f3b5a',
    950: '#000000',
  },
}
SCSS
$custom: #0f3b5a;
$custom-light: #5b7089;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3b5a",
  "rgb": {
    "r": 15,
    "g": 59,
    "b": 90
  },
  "hsl": {
    "h": 204.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3395,
    "c": 0.07185,
    "h": 244
  },
  "luminance": 0.03968
}

Semantic roles & 50–950 ramp

primary
#0F3B5A
secondary
#945A31
accent
#843AEE
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070B
muted
#797A7C

Preview Lab

Preview with #0F3B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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