#0B334E#0B334E

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

Color values

HEX#0B334E
RGBrgb(11, 51, 78)
HSLhsl(204, 75%, 17%)
HSVhsv(204, 86%, 31%)
CMYKcmyk(85.9%, 34.6%, 0%, 69.4%)
CIE-LABlab(20.00, -2.67, -20.43)
CIE-LCHlch(20.00, 20.60, 262.56°)
OKLaboklab(30.88% -0.0294 -0.0579)
OKLCHoklch(30.88% 0.065 243.1)
XYZxyz(2.6964, 2.9885, 7.6410)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B334E #4E260B
analogous
#0B4E47 #0B334E #0B124E
triadic
#0B334E #4E0B33 #334E0B
tetradic
#0B334E #470B4E #4E260B #124E0B
square
#0B334E #470B4E #4E260B #124E0B
split-complementary
#0B334E #4E0B12 #4E470B
monochromatic
#04121B #04121B #0B334E #135684 #1A79B9

Accessibility & contrast

On white

13.14
#0B334E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0B334E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B334E
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B334E#FFFFFF#000000##FFFFFF
##0B334E1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26344F
Deuteranopia (green-blind)
#1D2E4E
Tritanopia (blue-blind)
#003A3D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0b334e;
/* rgb */ color: rgb(11, 51, 78);
/* oklch */ color: oklch(30.9% 0.065 243.1);
Tailwind
colors: {
  custom: {
    50: '#566a7f',
    500: '#0b334e',
    950: '#000000',
  },
}
SCSS
$custom: #0b334e;
$custom-light: #566a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b334e",
  "rgb": {
    "r": 11,
    "g": 51,
    "b": 78
  },
  "hsl": {
    "h": 204.179,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.30877,
    "c": 0.06498,
    "h": 243.1
  },
  "luminance": 0.02989
}

Semantic roles & 50–950 ramp

primary
#0B334E
secondary
#8A512B
accent
#8236F2
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#03060A
muted
#787A7C

Preview Lab

Preview with #0B334E

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

Preview Lab → · Contrast checker → · Palette generator →

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