#0B234C#0B234C

#0B234C is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.4% C 0.082 H 260.4°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#0B234C
RGBrgb(11, 35, 76)
HSLhsl(218, 75%, 17%)
HSVhsv(218, 86%, 30%)
CMYKcmyk(85.5%, 53.9%, 0%, 70.2%)
CIE-LABlab(14.37, 8.11, -28.04)
CIE-LCHlch(14.37, 29.19, 286.14°)
OKLaboklab(26.45% -0.0136 -0.0806)
OKLCHoklch(26.45% 0.082 260.4)
XYZxyz(2.0431, 1.7948, 7.0748)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B234C #4C340B
analogous
#0B444C #0B234C #130B4C
triadic
#0B234C #4C0B23 #234C0B
tetradic
#0B234C #4C0B44 #4C340B #0B4C13
square
#0B234C #4C0B44 #4C340B #0B4C13
split-complementary
#0B234C #4C130B #444C0B
monochromatic
#040C1B #040C1B #0B234C #133C81 #1A54B7

Accessibility & contrast

On white

15.45
#0B234C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0B234C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B234C
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B234C#FFFFFF#000000##FFFFFF
##0B234C1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B284E
Deuteranopia (green-blind)
#00224B
Tritanopia (blue-blind)
#002D33
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0b234c;
/* rgb */ color: rgb(11, 35, 76);
/* oklch */ color: oklch(26.4% 0.082 260.4);
Tailwind
colors: {
  custom: {
    50: '#565d7e',
    500: '#0b234c',
    950: '#000000',
  },
}
SCSS
$custom: #0b234c;
$custom-light: #565d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b234c",
  "rgb": {
    "r": 11,
    "g": 35,
    "b": 76
  },
  "hsl": {
    "h": 217.846,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26446,
    "c": 0.08175,
    "h": 260.4
  },
  "luminance": 0.01795
}

Semantic roles & 50–950 ramp

primary
#0B234C
secondary
#88662B
accent
#AC36F1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0B234C

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

Preview Lab → · Contrast checker → · Palette generator →

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