#0B2A4F#0B2A4F

#0B2A4F is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.5% C 0.077 H 255.1°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#0B2A4F
RGBrgb(11, 42, 79)
HSLhsl(213, 76%, 18%)
HSVhsv(213, 86%, 31%)
CMYKcmyk(86.1%, 46.8%, 0%, 69%)
CIE-LABlab(16.95, 4.20, -25.95)
CIE-LCHlch(16.95, 26.28, 279.19°)
OKLaboklab(28.51% -0.0197 -0.0743)
OKLCHoklch(28.51% 0.077 255.1)
XYZxyz(2.3767, 2.2913, 7.7126)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2A4F #4F300B
analogous
#0B4C4F #0B2A4F #0E0B4F
triadic
#0B2A4F #4F0B2A #2A4F0B
tetradic
#0B2A4F #4F0B4C #4F300B #0B4F0E
square
#0B2A4F #4F0B4C #4F300B #0B4F0E
split-complementary
#0B2A4F #4F0E0B #4C4F0B
monochromatic
#040E1B #040E1B #0B2A4F #124785 #1A63BA

Accessibility & contrast

On white

14.40
#0B2A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B2A4F
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2A4F#FFFFFF#000000##FFFFFF
##0B2A4F1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b2a4f;
/* rgb */ color: rgb(11, 42, 79);
/* oklch */ color: oklch(28.5% 0.077 255.1);
Tailwind
colors: {
  custom: {
    50: '#566380',
    500: '#0b2a4f',
    950: '#000000',
  },
}
SCSS
$custom: #0b2a4f;
$custom-light: #566380;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2a4f",
  "rgb": {
    "r": 11,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 212.647,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28505,
    "c": 0.07686,
    "h": 255.1
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#0B2A4F
secondary
#8B5F2B
accent
#9C36F2
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#03050A
muted
#78797C

Preview Lab

Preview with #0B2A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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