#0F3155#0F3155

#0F3155 is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 30.9% C 0.076 H 252.6°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#0F3155
RGBrgb(15, 49, 85)
HSLhsl(211, 70%, 20%)
HSVhsv(211, 82%, 33%)
CMYKcmyk(82.4%, 42.4%, 0%, 66.7%)
CIE-LABlab(19.86, 2.30, -25.32)
CIE-LCHlch(19.86, 25.43, 275.18°)
OKLaboklab(30.94% -0.0226 -0.0722)
OKLCHoklch(30.94% 0.076 252.6)
XYZxyz(2.9344, 2.9537, 9.0080)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3155 #55330F
analogous
#0F5455 #0F3155 #100F55
triadic
#0F3155 #550F31 #31550F
tetradic
#0F3155 #550F54 #55330F #0F5510
square
#0F3155 #550F54 #55330F #0F5510
split-complementary
#0F3155 #55100F #54550F
monochromatic
#050F1A #061321 #0F3155 #184F89 #216DBD

Accessibility & contrast

On white

13.20
#0F3155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#0F3155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3155
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3155#FFFFFF#000000##FFFFFF
##0F31551.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203356
Deuteranopia (green-blind)
#152D54
Tritanopia (blue-blind)
#003A3E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f3155;
/* rgb */ color: rgb(15, 49, 85);
/* oklch */ color: oklch(30.9% 0.076 252.6);
Tailwind
colors: {
  custom: {
    50: '#596885',
    500: '#0f3155',
    950: '#000000',
  },
}
SCSS
$custom: #0f3155;
$custom-light: #596885;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3155",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 85
  },
  "hsl": {
    "h": 210.857,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3094,
    "c": 0.0757,
    "h": 252.6
  },
  "luminance": 0.02954
}

Semantic roles & 50–950 ramp

primary
#0F3155
secondary
#8F6131
accent
#963BED
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0F3155

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

Preview Lab → · Contrast checker → · Palette generator →

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