#0E2751#0E2751

#0E2751 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.0% C 0.083 H 260.2°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#0E2751
RGBrgb(14, 39, 81)
HSLhsl(218, 71%, 19%)
HSVhsv(218, 83%, 32%)
CMYKcmyk(82.7%, 51.9%, 0%, 68.2%)
CIE-LABlab(16.20, 7.73, -28.50)
CIE-LCHlch(16.20, 29.53, 285.18°)
OKLaboklab(28% -0.0142 -0.0818)
OKLCHoklch(28% 0.083 260.2)
XYZxyz(2.3913, 2.1382, 8.0697)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2751 #51380E
analogous
#0E4851 #0E2751 #160E51
triadic
#0E2751 #510E27 #27510E
tetradic
#0E2751 #510E48 #51380E #0E5116
square
#0E2751 #510E48 #51380E #0E5116
split-complementary
#0E2751 #51160E #48510E
monochromatic
#050D1A #050E1D #0E2751 #174085 #2059B9

Accessibility & contrast

On white

14.71
#0E2751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0E2751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2751
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2751#FFFFFF#000000##FFFFFF
##0E27511.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102B53
Deuteranopia (green-blind)
#012550
Tritanopia (blue-blind)
#003138
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0e2751;
/* rgb */ color: rgb(14, 39, 81);
/* oklch */ color: oklch(28.0% 0.083 260.2);
Tailwind
colors: {
  custom: {
    50: '#586082',
    500: '#0e2751',
    950: '#000000',
  },
}
SCSS
$custom: #0e2751;
$custom-light: #586082;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2751",
  "rgb": {
    "r": 14,
    "g": 39,
    "b": 81
  },
  "hsl": {
    "h": 217.612,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28003,
    "c": 0.08303,
    "h": 260.2
  },
  "luminance": 0.02138
}

Semantic roles & 50–950 ramp

primary
#0E2751
secondary
#8C692F
accent
#AB3AED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0E2751

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

Preview Lab → · Contrast checker → · Palette generator →

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