#0B254C#0B254C

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

Color values

HEX#0B254C
RGBrgb(11, 37, 76)
HSLhsl(216, 75%, 17%)
HSVhsv(216, 86%, 30%)
CMYKcmyk(85.5%, 51.3%, 0%, 70.2%)
CIE-LABlab(15.04, 6.59, -26.97)
CIE-LCHlch(15.04, 27.76, 283.74°)
OKLaboklab(26.96% -0.0155 -0.0774)
OKLCHoklch(26.96% 0.079 258.6)
XYZxyz(2.1036, 1.9158, 7.0950)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B254C #4C320B
analogous
#0B464C #0B254C #120B4C
triadic
#0B254C #4C0B25 #254C0B
tetradic
#0B254C #4C0B46 #4C320B #0B4C12
square
#0B254C #4C0B46 #4C320B #0B4C12
split-complementary
#0B254C #4C120B #464C0B
monochromatic
#040D1B #040D1B #0B254C #133F81 #1A59B7

Accessibility & contrast

On white

15.18
#0B254C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B254C
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B254C#FFFFFF#000000##FFFFFF
##0B254C1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10294D
Deuteranopia (green-blind)
#02234B
Tritanopia (blue-blind)
#002E34
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0b254c;
/* rgb */ color: rgb(11, 37, 76);
/* oklch */ color: oklch(27.0% 0.079 258.6);
Tailwind
colors: {
  custom: {
    50: '#565f7e',
    500: '#0b254c',
    950: '#000000',
  },
}
SCSS
$custom: #0b254c;
$custom-light: #565f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b254c",
  "rgb": {
    "r": 11,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 216,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26959,
    "c": 0.07893,
    "h": 258.6
  },
  "luminance": 0.01916
}

Semantic roles & 50–950 ramp

primary
#0B254C
secondary
#88632B
accent
#A736F1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0B254C

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

Preview Lab → · Contrast checker → · Palette generator →

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