#0E2658#0E2658

#0E2658 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.4% C 0.095 H 262.6°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#0E2658
RGBrgb(14, 38, 88)
HSLhsl(221, 73%, 20%)
HSVhsv(221, 84%, 35%)
CMYKcmyk(84.1%, 56.8%, 0%, 65.5%)
CIE-LABlab(16.42, 11.57, -32.84)
CIE-LCHlch(16.42, 34.82, 289.40°)
OKLaboklab(28.35% -0.0122 -0.0946)
OKLCHoklch(28.35% 0.095 262.6)
XYZxyz(2.6350, 2.1839, 9.5133)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2658 #58400E
analogous
#0E4B58 #0E2658 #1B0E58
triadic
#0E2658 #580E26 #26580E
tetradic
#0E2658 #580E4B #58400E #0E581B
square
#0E2658 #580E4B #58400E #0E581B
split-complementary
#0E2658 #581B0E #4B580E
monochromatic
#040B1A #060F23 #0E2658 #163D8D #1F54C2

Accessibility & contrast

On white

14.62
#0E2658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0E2658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2658
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2658#FFFFFF#000000##FFFFFF
##0E26581.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042C5A
Deuteranopia (green-blind)
#002557
Tritanopia (blue-blind)
#00323B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0e2658;
/* rgb */ color: rgb(14, 38, 88);
/* oklch */ color: oklch(28.4% 0.095 262.6);
Tailwind
colors: {
  custom: {
    50: '#5a5f88',
    500: '#0e2658',
    950: '#000000',
  },
}
SCSS
$custom: #0e2658;
$custom-light: #5a5f88;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2658",
  "rgb": {
    "r": 14,
    "g": 38,
    "b": 88
  },
  "hsl": {
    "h": 220.541,
    "s": 72.549,
    "l": 20
  },
  "oklch": {
    "l": 0.28352,
    "c": 0.0954,
    "h": 262.6
  },
  "luminance": 0.02184
}

Semantic roles & 50–950 ramp

primary
#0E2658
secondary
#927230
accent
#B439EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E2658

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

Preview Lab → · Contrast checker → · Palette generator →

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