#0B254D#0B254D

#0B254D is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.0% C 0.081 H 259.0°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#0B254D
RGBrgb(11, 37, 77)
HSLhsl(216, 75%, 17%)
HSVhsv(216, 86%, 30%)
CMYKcmyk(85.7%, 51.9%, 0%, 69.8%)
CIE-LABlab(15.12, 7.04, -27.53)
CIE-LCHlch(15.12, 28.41, 284.35°)
OKLaboklab(27.04% -0.0153 -0.079)
OKLCHoklch(27.04% 0.081 259)
XYZxyz(2.1386, 1.9299, 7.2795)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B254D #4D330B
analogous
#0B464D #0B254D #120B4D
triadic
#0B254D #4D0B25 #254D0B
tetradic
#0B254D #4D0B46 #4D330B #0B4D12
square
#0B254D #4D0B46 #4D330B #0B4D12
split-complementary
#0B254D #4D120B #464D0B
monochromatic
#040D1B #040D1B #0B254D #133F83 #1A58B8

Accessibility & contrast

On white

15.15
#0B254D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0B254D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B254D
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B254D#FFFFFF#000000##FFFFFF
##0B254D1.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F294E
Deuteranopia (green-blind)
#01234C
Tritanopia (blue-blind)
#002F35
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0b254d;
/* rgb */ color: rgb(11, 37, 77);
/* oklch */ color: oklch(27.0% 0.081 259.0);
Tailwind
colors: {
  custom: {
    50: '#565f7f',
    500: '#0b254d',
    950: '#000000',
  },
}
SCSS
$custom: #0b254d;
$custom-light: #565f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b254d",
  "rgb": {
    "r": 11,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 216.364,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27041,
    "c": 0.08052,
    "h": 259
  },
  "luminance": 0.0193
}

Semantic roles & 50–950 ramp

primary
#0B254D
secondary
#89642B
accent
#A836F2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0B254D

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

Preview Lab → · Contrast checker → · Palette generator →

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