#0B314A#0B314A

#0B314A is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.1% C 0.061 H 242.2°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#0B314A
RGBrgb(11, 49, 74)
HSLhsl(204, 74%, 17%)
HSVhsv(204, 85%, 29%)
CMYKcmyk(85.1%, 33.8%, 0%, 71%)
CIE-LABlab(19.06, -3.00, -19.21)
CIE-LCHlch(19.06, 19.44, 261.12°)
OKLaboklab(30.06% -0.0287 -0.0544)
OKLCHoklch(30.06% 0.062 242.2)
XYZxyz(2.4719, 2.7619, 6.8801)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B314A #4A240B
analogous
#0B4A44 #0B314A #0B114A
triadic
#0B314A #4A0B31 #314A0B
tetradic
#0B314A #440B4A #4A240B #114A0B
square
#0B314A #440B4A #4A240B #114A0B
split-complementary
#0B314A #4A0B11 #4A440B
monochromatic
#04121B #04121B #0B314A #13547F #1B78B5

Accessibility & contrast

On white

13.53
#0B314A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#0B314A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B314A
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B314A#FFFFFF#000000##FFFFFF
##0B314A1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25324B
Deuteranopia (green-blind)
#1D2C4A
Tritanopia (blue-blind)
#00373A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0b314a;
/* rgb */ color: rgb(11, 49, 74);
/* oklch */ color: oklch(30.1% 0.061 242.2);
Tailwind
colors: {
  custom: {
    50: '#55687c',
    500: '#0b314a',
    950: '#000000',
  },
}
SCSS
$custom: #0b314a;
$custom-light: #55687c;
$custom-dark: #000000;
JSON
{
  "hex": "#0b314a",
  "rgb": {
    "r": 11,
    "g": 49,
    "b": 74
  },
  "hsl": {
    "h": 203.81,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.30063,
    "c": 0.0615,
    "h": 242.2
  },
  "luminance": 0.02762
}

Semantic roles & 50–950 ramp

primary
#0B314A
secondary
#864F2B
accent
#8137F1
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#030609
muted
#787A7B

Preview Lab

Preview with #0B314A

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

Preview Lab → · Contrast checker → · Palette generator →

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