#0B2A4E#0B2A4E

#0B2A4E is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.4% C 0.075 H 254.6°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#0B2A4E
RGBrgb(11, 42, 78)
HSLhsl(212, 75%, 17%)
HSVhsv(212, 86%, 31%)
CMYKcmyk(85.9%, 46.2%, 0%, 69.4%)
CIE-LABlab(16.88, 3.75, -25.38)
CIE-LCHlch(16.88, 25.66, 278.41°)
OKLaboklab(28.43% -0.02 -0.0726)
OKLCHoklch(28.43% 0.075 254.6)
XYZxyz(2.3406, 2.2769, 7.5224)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2A4E #4E2F0B
analogous
#0B4B4E #0B2A4E #0E0B4E
triadic
#0B2A4E #4E0B2A #2A4E0B
tetradic
#0B2A4E #4E0B4B #4E2F0B #0B4E0E
square
#0B2A4E #4E0B4B #4E2F0B #0B4E0E
split-complementary
#0B2A4E #4E0E0B #4B4E0B
monochromatic
#040E1B #040E1B #0B2A4E #134784 #1A64B9

Accessibility & contrast

On white

14.43
#0B2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0B2A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B2A4E
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2A4E#FFFFFF#000000##FFFFFF
##0B2A4E1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182D4F
Deuteranopia (green-blind)
#0C274D
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0b2a4e;
/* rgb */ color: rgb(11, 42, 78);
/* oklch */ color: oklch(28.4% 0.075 254.6);
Tailwind
colors: {
  custom: {
    50: '#566380',
    500: '#0b2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #0b2a4e;
$custom-light: #566380;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2a4e",
  "rgb": {
    "r": 11,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 212.239,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28429,
    "c": 0.07532,
    "h": 254.6
  },
  "luminance": 0.02277
}

Semantic roles & 50–950 ramp

primary
#0B2A4E
secondary
#8A5E2B
accent
#9B36F2
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#03050A
muted
#78797C

Preview Lab

Preview with #0B2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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