#0F2558#0F2558

#0F2558 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.2% C 0.097 H 263.7°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#0F2558
RGBrgb(15, 37, 88)
HSLhsl(222, 71%, 20%)
HSVhsv(222, 83%, 35%)
CMYKcmyk(83%, 58%, 0%, 65.5%)
CIE-LABlab(16.15, 12.45, -33.29)
CIE-LCHlch(16.15, 35.54, 290.51°)
OKLaboklab(28.16% -0.0105 -0.0959)
OKLCHoklch(28.16% 0.097 263.7)
XYZxyz(2.6194, 2.1290, 9.5035)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2558 #58420F
analogous
#0F4958 #0F2558 #1E0F58
triadic
#0F2558 #580F25 #25580F
tetradic
#0F2558 #580F49 #58420F #0F581E
square
#0F2558 #580F49 #58420F #0F581E
split-complementary
#0F2558 #581E0F #49580F
monochromatic
#040B1A #060F24 #0F2558 #183B8C #2151C1

Accessibility & contrast

On white

14.73
#0F2558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0F2558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2558
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2558#FFFFFF#000000##FFFFFF
##0F25581.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012C5A
Deuteranopia (green-blind)
#002557
Tritanopia (blue-blind)
#00313A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2558;
/* rgb */ color: rgb(15, 37, 88);
/* oklch */ color: oklch(28.2% 0.097 263.7);
Tailwind
colors: {
  custom: {
    50: '#5a5f88',
    500: '#0f2558',
    950: '#000000',
  },
}
SCSS
$custom: #0f2558;
$custom-light: #5a5f88;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2558",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 88
  },
  "hsl": {
    "h": 221.918,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28156,
    "c": 0.0965,
    "h": 263.7
  },
  "luminance": 0.02129
}

Semantic roles & 50–950 ramp

primary
#0F2558
secondary
#927531
accent
#B83AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2558

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

Preview Lab → · Contrast checker → · Palette generator →

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