#0E275C#0E275C

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

Color values

HEX#0E275C
RGBrgb(14, 39, 92)
HSLhsl(221, 74%, 21%)
HSVhsv(221, 85%, 36%)
CMYKcmyk(84.8%, 57.6%, 0%, 63.9%)
CIE-LABlab(17.07, 12.57, -34.47)
CIE-LCHlch(17.07, 36.69, 290.04°)
OKLaboklab(28.95% -0.0126 -0.0994)
OKLCHoklch(28.95% 0.1 262.8)
XYZxyz(2.8377, 2.3168, 10.4208)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E275C #5C430E
analogous
#0E4E5C #0E275C #1C0E5C
triadic
#0E275C #5C0E27 #275C0E
tetradic
#0E275C #5C0E4E #5C430E #0E5C1C
square
#0E275C #5C0E4E #5C430E #0E5C1C
split-complementary
#0E275C #5C1C0E #4E5C0E
monochromatic
#040B1B #061027 #0E275C #163E91 #1E54C6

Accessibility & contrast

On white

14.35
#0E275C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E275C
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E275C#FFFFFF#000000##FFFFFF
##0E275C1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5E
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#00343D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0e275c;
/* rgb */ color: rgb(14, 39, 92);
/* oklch */ color: oklch(28.9% 0.100 262.8);
Tailwind
colors: {
  custom: {
    50: '#5b608b',
    500: '#0e275c',
    950: '#000000',
  },
}
SCSS
$custom: #0e275c;
$custom-light: #5b608b;
$custom-dark: #000000;
JSON
{
  "hex": "#0e275c",
  "rgb": {
    "r": 14,
    "g": 39,
    "b": 92
  },
  "hsl": {
    "h": 220.769,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28946,
    "c": 0.10017,
    "h": 262.8
  },
  "luminance": 0.02317
}

Semantic roles & 50–950 ramp

primary
#0E275C
secondary
#967530
accent
#B538F0
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040C
muted
#79797D

Preview Lab

Preview with #0E275C

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

Preview Lab → · Contrast checker → · Palette generator →

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