#0B3156#0B3156

#0B3156 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.9% C 0.079 H 251.6°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#0B3156
RGBrgb(11, 49, 86)
HSLhsl(210, 77%, 19%)
HSVhsv(210, 87%, 34%)
CMYKcmyk(87.2%, 43%, 0%, 66.3%)
CIE-LABlab(19.80, 2.21, -26.09)
CIE-LCHlch(19.80, 26.18, 274.84°)
OKLaboklab(30.88% -0.0248 -0.0745)
OKLCHoklch(30.88% 0.079 251.6)
XYZxyz(2.9154, 2.9393, 9.2160)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B3156 #56300B
analogous
#0B5656 #0B3156 #0B0C56
triadic
#0B3156 #560B31 #31560B
tetradic
#0B3156 #560B56 #56300B #0C560B
square
#0B3156 #560B56 #56300B #0C560B
split-complementary
#0B3156 #560B0C #56560B
monochromatic
#030F1B #041220 #0B3156 #12508C #196FC3

Accessibility & contrast

On white

13.22
#0B3156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B3156
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B3156#FFFFFF#000000##FFFFFF
##0B31561.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3457
Deuteranopia (green-blind)
#132D55
Tritanopia (blue-blind)
#003A3F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0b3156;
/* rgb */ color: rgb(11, 49, 86);
/* oklch */ color: oklch(30.9% 0.079 251.6);
Tailwind
colors: {
  custom: {
    50: '#586886',
    500: '#0b3156',
    950: '#000000',
  },
}
SCSS
$custom: #0b3156;
$custom-light: #586886;
$custom-dark: #000000;
JSON
{
  "hex": "#0b3156",
  "rgb": {
    "r": 11,
    "g": 49,
    "b": 86
  },
  "hsl": {
    "h": 209.6,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30881,
    "c": 0.07856,
    "h": 251.6
  },
  "luminance": 0.0294
}

Semantic roles & 50–950 ramp

primary
#0B3156
secondary
#915E2B
accent
#9334F4
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0B3156

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

Preview Lab → · Contrast checker → · Palette generator →

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