#0E255F#0E255F

#0E255F is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.8% C 0.108 H 264.3°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#0E255F
RGBrgb(14, 37, 95)
HSLhsl(223, 74%, 21%)
HSVhsv(223, 85%, 37%)
CMYKcmyk(85.3%, 61.1%, 0%, 62.7%)
CIE-LABlab(16.71, 15.38, -37.04)
CIE-LCHlch(16.71, 40.11, 292.55°)
OKLaboklab(28.76% -0.0108 -0.107)
OKLCHoklch(28.76% 0.108 264.3)
XYZxyz(2.9075, 2.2424, 11.1038)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E255F #5F480E
analogous
#0E4E5F #0E255F #200E5F
triadic
#0E255F #5F0E25 #255F0E
tetradic
#0E255F #5F0E4E #5F480E #0E5F20
square
#0E255F #5F0E4E #5F480E #0E5F20
split-complementary
#0E255F #5F200E #4E5F0E
monochromatic
#040A1B #06102A #0E255F #163A94 #1E4FCA

Accessibility & contrast

On white

14.50
#0E255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0E255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E255F
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E255F#FFFFFF#000000##FFFFFF
##0E255F1.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#00265E
Tritanopia (blue-blind)
#00343E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0e255f;
/* rgb */ color: rgb(14, 37, 95);
/* oklch */ color: oklch(28.8% 0.108 264.3);
Tailwind
colors: {
  custom: {
    50: '#5c5f8d',
    500: '#0e255f',
    950: '#000000',
  },
}
SCSS
$custom: #0e255f;
$custom-light: #5c5f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#0e255f",
  "rgb": {
    "r": 14,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 222.963,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28757,
    "c": 0.10752,
    "h": 264.3
  },
  "luminance": 0.02243
}

Semantic roles & 50–950 ramp

primary
#0E255F
secondary
#997B30
accent
#BC37F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0E255F

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

Preview Lab → · Contrast checker → · Palette generator →

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