#0B2A4C#0B2A4C

#0B2A4C is a dark, moderate cyan. Relative luminance 0.022; OKLCH L 28.3% C 0.072 H 253.5°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#0B2A4C
RGBrgb(11, 42, 76)
HSLhsl(211, 75%, 17%)
HSVhsv(211, 86%, 30%)
CMYKcmyk(85.5%, 44.7%, 0%, 70.2%)
CIE-LABlab(16.74, 2.86, -24.24)
CIE-LCHlch(16.74, 24.41, 276.74°)
OKLaboklab(28.28% -0.0205 -0.0693)
OKLCHoklch(28.28% 0.072 253.5)
XYZxyz(2.2700, 2.2486, 7.1505)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2A4C #4C2D0B
analogous
#0B4B4C #0B2A4C #0D0B4C
triadic
#0B2A4C #4C0B2A #2A4C0B
tetradic
#0B2A4C #4C0B4B #4C2D0B #0B4C0D
square
#0B2A4C #4C0B4B #4C2D0B #0B4C0D
split-complementary
#0B2A4C #4C0D0B #4B4C0B
monochromatic
#040F1B #040F1B #0B2A4C #134881 #1A65B7

Accessibility & contrast

On white

14.48
#0B2A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0B2A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B2A4C
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2A4C#FFFFFF#000000##FFFFFF
##0B2A4C1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2D4D
Deuteranopia (green-blind)
#0F274B
Tritanopia (blue-blind)
#003237
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0b2a4c;
/* rgb */ color: rgb(11, 42, 76);
/* oklch */ color: oklch(28.3% 0.072 253.5);
Tailwind
colors: {
  custom: {
    50: '#56637e',
    500: '#0b2a4c',
    950: '#000000',
  },
}
SCSS
$custom: #0b2a4c;
$custom-light: #56637e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2a4c",
  "rgb": {
    "r": 11,
    "g": 42,
    "b": 76
  },
  "hsl": {
    "h": 211.385,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28278,
    "c": 0.07225,
    "h": 253.5
  },
  "luminance": 0.02249
}

Semantic roles & 50–950 ramp

primary
#0B2A4C
secondary
#885C2B
accent
#9836F1
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#03050A
muted
#78797C

Preview Lab

Preview with #0B2A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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