#0F3151#0F3151

#0F3151 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.7% C 0.070 H 250.1°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#0F3151
RGBrgb(15, 49, 81)
HSLhsl(209, 69%, 19%)
HSVhsv(209, 81%, 32%)
CMYKcmyk(81.5%, 39.5%, 0%, 68.2%)
CIE-LABlab(19.61, 0.58, -23.05)
CIE-LCHlch(19.61, 23.06, 271.44°)
OKLaboklab(30.66% -0.0238 -0.0656)
OKLCHoklch(30.66% 0.07 250.1)
XYZxyz(2.7800, 2.8919, 8.1947)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3151 #512F0F
analogous
#0F5150 #0F3151 #0F1051
triadic
#0F3151 #510F31 #31510F
tetradic
#0F3151 #500F51 #512F0F #10510F
square
#0F3151 #500F51 #512F0F #10510F
split-complementary
#0F3151 #510F10 #51500F
monochromatic
#05101A #05121D #0F3151 #195085 #226FB8

Accessibility & contrast

On white

13.30
#0F3151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#0F3151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3151
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3151#FFFFFF#000000##FFFFFF
##0F31511.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223352
Deuteranopia (green-blind)
#192D50
Tritanopia (blue-blind)
#00393D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f3151;
/* rgb */ color: rgb(15, 49, 81);
/* oklch */ color: oklch(30.7% 0.070 250.1);
Tailwind
colors: {
  custom: {
    50: '#586882',
    500: '#0f3151',
    950: '#000000',
  },
}
SCSS
$custom: #0f3151;
$custom-light: #586882;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3151",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 209.091,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30661,
    "c": 0.06977,
    "h": 250.1
  },
  "luminance": 0.02892
}

Semantic roles & 50–950 ramp

primary
#0F3151
secondary
#8B5D31
accent
#913CEC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0F3151

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

Preview Lab → · Contrast checker → · Palette generator →

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