#0B234A#0B234A

#0B234A is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.3% C 0.079 H 259.7°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#0B234A
RGBrgb(11, 35, 74)
HSLhsl(217, 74%, 17%)
HSVhsv(217, 85%, 29%)
CMYKcmyk(85.1%, 52.7%, 0%, 71%)
CIE-LABlab(14.22, 7.21, -26.92)
CIE-LCHlch(14.22, 27.87, 285.00°)
OKLaboklab(26.28% -0.014 -0.0773)
OKLCHoklch(26.28% 0.079 259.7)
XYZxyz(1.9746, 1.7674, 6.7143)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B234A #4A320B
analogous
#0B434A #0B234A #130B4A
triadic
#0B234A #4A0B23 #234A0B
tetradic
#0B234A #4A0B43 #4A320B #0B4A13
square
#0B234A #4A0B43 #4A320B #0B4A13
split-complementary
#0B234A #4A130B #434A0B
monochromatic
#040D1B #040D1B #0B234A #133C7F #1B55B5

Accessibility & contrast

On white

15.51
#0B234A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0B234A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B234A
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B234A#FFFFFF#000000##FFFFFF
##0B234A1.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D274B
Deuteranopia (green-blind)
#002149
Tritanopia (blue-blind)
#002C32
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0b234a;
/* rgb */ color: rgb(11, 35, 74);
/* oklch */ color: oklch(26.3% 0.079 259.7);
Tailwind
colors: {
  custom: {
    50: '#555d7d',
    500: '#0b234a',
    950: '#000000',
  },
}
SCSS
$custom: #0b234a;
$custom-light: #555d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b234a",
  "rgb": {
    "r": 11,
    "g": 35,
    "b": 74
  },
  "hsl": {
    "h": 217.143,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26277,
    "c": 0.07856,
    "h": 259.7
  },
  "luminance": 0.01768
}

Semantic roles & 50–950 ramp

primary
#0B234A
secondary
#86632B
accent
#AA37F1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0B234A

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

Preview Lab → · Contrast checker → · Palette generator →

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