#0E275F#0E275F

#0E275F is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.2% C 0.105 H 263.3°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#0E275F
RGBrgb(14, 39, 95)
HSLhsl(221, 74%, 21%)
HSVhsv(221, 85%, 37%)
CMYKcmyk(85.3%, 58.9%, 0%, 62.7%)
CIE-LABlab(17.32, 13.88, -36.05)
CIE-LCHlch(17.32, 38.63, 291.06°)
OKLaboklab(29.22% -0.0123 -0.104)
OKLCHoklch(29.22% 0.105 263.3)
XYZxyz(2.9714, 2.3703, 11.1252)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E275F #5F460E
analogous
#0E505F #0E275F #1D0E5F
triadic
#0E275F #5F0E27 #275F0E
tetradic
#0E275F #5F0E50 #5F460E #0E5F1D
square
#0E275F #5F0E50 #5F460E #0E5F1D
split-complementary
#0E275F #5F1D0E #505F0E
monochromatic
#040B1B #06112A #0E275F #163D94 #1E53CA

Accessibility & contrast

On white

14.25
#0E275F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0E275F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E275F
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E275F#FFFFFF#000000##FFFFFF
##0E275F1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#00275E
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0e275f;
/* rgb */ color: rgb(14, 39, 95);
/* oklch */ color: oklch(29.2% 0.105 263.3);
Tailwind
colors: {
  custom: {
    50: '#5c608d',
    500: '#0e275f',
    950: '#000000',
  },
}
SCSS
$custom: #0e275f;
$custom-light: #5c608d;
$custom-dark: #000000;
JSON
{
  "hex": "#0e275f",
  "rgb": {
    "r": 14,
    "g": 39,
    "b": 95
  },
  "hsl": {
    "h": 221.481,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29217,
    "c": 0.10475,
    "h": 263.3
  },
  "luminance": 0.02371
}

Semantic roles & 50–950 ramp

primary
#0E275F
secondary
#997830
accent
#B837F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0E275F

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

Preview Lab → · Contrast checker → · Palette generator →

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