#0B254F#0B254F

#0B254F is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.2% C 0.084 H 259.7°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#0B254F
RGBrgb(11, 37, 79)
HSLhsl(217, 76%, 18%)
HSVhsv(217, 86%, 31%)
CMYKcmyk(86.1%, 53.2%, 0%, 69%)
CIE-LABlab(15.27, 7.94, -28.64)
CIE-LCHlch(15.27, 29.72, 285.50°)
OKLaboklab(27.21% -0.015 -0.0823)
OKLCHoklch(27.21% 0.084 259.7)
XYZxyz(2.2103, 1.9585, 7.6572)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B254F #4F350B
analogous
#0B474F #0B254F #130B4F
triadic
#0B254F #4F0B25 #254F0B
tetradic
#0B254F #4F0B47 #4F350B #0B4F13
square
#0B254F #4F0B47 #4F350B #0B4F13
split-complementary
#0B254F #4F130B #474F0B
monochromatic
#040D1B #040D1B #0B254F #123E85 #1A57BA

Accessibility & contrast

On white

15.09
#0B254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B254F
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B254F#FFFFFF#000000##FFFFFF
##0B254F1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2A51
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#002F36
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0b254f;
/* rgb */ color: rgb(11, 37, 79);
/* oklch */ color: oklch(27.2% 0.084 259.7);
Tailwind
colors: {
  custom: {
    50: '#575e81',
    500: '#0b254f',
    950: '#000000',
  },
}
SCSS
$custom: #0b254f;
$custom-light: #575e81;
$custom-dark: #000000;
JSON
{
  "hex": "#0b254f",
  "rgb": {
    "r": 11,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 217.059,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27208,
    "c": 0.08368,
    "h": 259.7
  },
  "luminance": 0.01959
}

Semantic roles & 50–950 ramp

primary
#0B254F
secondary
#8B662B
accent
#AA36F2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0B254F

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

Preview Lab → · Contrast checker → · Palette generator →

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