#0B2A52#0B2A52

#0B2A52 is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.7% C 0.082 H 256.5°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#0B2A52
RGBrgb(11, 42, 82)
HSLhsl(214, 76%, 18%)
HSVhsv(214, 87%, 32%)
CMYKcmyk(86.6%, 48.8%, 0%, 67.8%)
CIE-LABlab(17.16, 5.54, -27.63)
CIE-LCHlch(17.16, 28.18, 281.33°)
OKLaboklab(28.74% -0.019 -0.0792)
OKLCHoklch(28.74% 0.082 256.5)
XYZxyz(2.4884, 2.3360, 8.3007)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2A52 #52330B
analogous
#0B4D52 #0B2A52 #100B52
triadic
#0B2A52 #520B2A #2A520B
tetradic
#0B2A52 #520B4D #52330B #0B5210
square
#0B2A52 #520B4D #52330B #0B5210
split-complementary
#0B2A52 #52100B #4D520B
monochromatic
#040E1B #040E1C #0B2A52 #124688 #1961BE

Accessibility & contrast

On white

14.31
#0B2A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0B2A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B2A52
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2A52#FFFFFF#000000##FFFFFF
##0B2A521.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152E54
Deuteranopia (green-blind)
#062751
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0b2a52;
/* rgb */ color: rgb(11, 42, 82);
/* oklch */ color: oklch(28.7% 0.082 256.5);
Tailwind
colors: {
  custom: {
    50: '#576383',
    500: '#0b2a52',
    950: '#000000',
  },
}
SCSS
$custom: #0b2a52;
$custom-light: #576383;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2a52",
  "rgb": {
    "r": 11,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 213.803,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28739,
    "c": 0.0815,
    "h": 256.5
  },
  "luminance": 0.02336
}

Semantic roles & 50–950 ramp

primary
#0B2A52
secondary
#8E632B
accent
#A035F3
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #0B2A52

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

Preview Lab → · Contrast checker → · Palette generator →

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