#0B254A#0B254A

#0B254A is a dark, moderate blue. Relative luminance 0.019; OKLCH L 26.8% C 0.076 H 257.8°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#0B254A
RGBrgb(11, 37, 74)
HSLhsl(215, 74%, 17%)
HSVhsv(215, 85%, 29%)
CMYKcmyk(85.1%, 50%, 0%, 71%)
CIE-LABlab(14.89, 5.69, -25.83)
CIE-LCHlch(14.89, 26.45, 282.43°)
OKLaboklab(26.8% -0.016 -0.0741)
OKLCHoklch(26.8% 0.076 257.8)
XYZxyz(2.0352, 1.8885, 6.7345)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B254A #4A300B
analogous
#0B454A #0B254A #110B4A
triadic
#0B254A #4A0B25 #254A0B
tetradic
#0B254A #4A0B45 #4A300B #0B4A11
square
#0B254A #4A0B45 #4A300B #0B4A11
split-complementary
#0B254A #4A110B #454A0B
monochromatic
#040D1B #040D1B #0B254A #13407F #1B5AB5

Accessibility & contrast

On white

15.24
#0B254A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0B254A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B254A
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B254A#FFFFFF#000000##FFFFFF
##0B254A1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12294B
Deuteranopia (green-blind)
#052349
Tritanopia (blue-blind)
#002E33
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0b254a;
/* rgb */ color: rgb(11, 37, 74);
/* oklch */ color: oklch(26.8% 0.076 257.8);
Tailwind
colors: {
  custom: {
    50: '#555f7d',
    500: '#0b254a',
    950: '#000000',
  },
}
SCSS
$custom: #0b254a;
$custom-light: #555f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b254a",
  "rgb": {
    "r": 11,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 215.238,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26797,
    "c": 0.07577,
    "h": 257.8
  },
  "luminance": 0.01889
}

Semantic roles & 50–950 ramp

primary
#0B254A
secondary
#86602B
accent
#A437F1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0B254A

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

Preview Lab → · Contrast checker → · Palette generator →

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