#0E274F#0E274F

#0E274F is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.8% C 0.080 H 259.5°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#0E274F
RGBrgb(14, 39, 79)
HSLhsl(217, 70%, 18%)
HSVhsv(217, 82%, 31%)
CMYKcmyk(82.3%, 50.6%, 0%, 69%)
CIE-LABlab(16.05, 6.85, -27.38)
CIE-LCHlch(16.05, 28.23, 284.04°)
OKLaboklab(27.84% -0.0146 -0.0785)
OKLCHoklch(27.84% 0.08 259.5)
XYZxyz(2.3174, 2.1087, 7.6805)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E274F #4F360E
analogous
#0E474F #0E274F #150E4F
triadic
#0E274F #4F0E27 #274F0E
tetradic
#0E274F #4F0E47 #4F360E #0E4F15
square
#0E274F #4F0E47 #4F360E #0E4F15
split-complementary
#0E274F #4F150E #474F0E
monochromatic
#050D1A #050D1B #0E274F #174183 #205AB7

Accessibility & contrast

On white

14.77
#0E274F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0E274F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E274F
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E274F#FFFFFF#000000##FFFFFF
##0E274F1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122B51
Deuteranopia (green-blind)
#04254E
Tritanopia (blue-blind)
#003037
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0e274f;
/* rgb */ color: rgb(14, 39, 79);
/* oklch */ color: oklch(27.8% 0.080 259.5);
Tailwind
colors: {
  custom: {
    50: '#576081',
    500: '#0e274f',
    950: '#000000',
  },
}
SCSS
$custom: #0e274f;
$custom-light: #576081;
$custom-dark: #000000;
JSON
{
  "hex": "#0e274f",
  "rgb": {
    "r": 14,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 216.923,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2784,
    "c": 0.07987,
    "h": 259.5
  },
  "luminance": 0.02109
}

Semantic roles & 50–950 ramp

primary
#0E274F
secondary
#8A672F
accent
#A83BED
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0E274F

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

Preview Lab → · Contrast checker → · Palette generator →

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