#0E265E#0E265E

#0E265E is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.9% C 0.105 H 263.6°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#0E265E
RGBrgb(14, 38, 94)
HSLhsl(222, 74%, 21%)
HSVhsv(222, 85%, 37%)
CMYKcmyk(85.1%, 59.6%, 0%, 63.1%)
CIE-LABlab(16.93, 14.20, -36.02)
CIE-LCHlch(16.93, 38.72, 291.51°)
OKLaboklab(28.89% -0.0116 -0.104)
OKLCHoklch(28.89% 0.105 263.6)
XYZxyz(2.8939, 2.2874, 10.8765)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E265E #5E460E
analogous
#0E4E5E #0E265E #1E0E5E
triadic
#0E265E #5E0E26 #265E0E
tetradic
#0E265E #5E0E4E #5E460E #0E5E1E
square
#0E265E #5E0E4E #5E460E #0E5E1E
split-complementary
#0E265E #5E1E0E #4E5E0E
monochromatic
#040B1B #061029 #0E265E #163C93 #1E51C9

Accessibility & contrast

On white

14.41
#0E265E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0E265E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E265E
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E265E#FFFFFF#000000##FFFFFF
##0E265E1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#00265D
Tritanopia (blue-blind)
#00343E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0e265e;
/* rgb */ color: rgb(14, 38, 94);
/* oklch */ color: oklch(28.9% 0.105 263.6);
Tailwind
colors: {
  custom: {
    50: '#5c5f8c',
    500: '#0e265e',
    950: '#000000',
  },
}
SCSS
$custom: #0e265e;
$custom-light: #5c5f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#0e265e",
  "rgb": {
    "r": 14,
    "g": 38,
    "b": 94
  },
  "hsl": {
    "h": 222,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28894,
    "c": 0.10462,
    "h": 263.6
  },
  "luminance": 0.02288
}

Semantic roles & 50–950 ramp

primary
#0E265E
secondary
#987930
accent
#B937F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0E265E

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

Preview Lab → · Contrast checker → · Palette generator →

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