#0E254C#0E254C

#0E254C is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.1% C 0.078 H 260.3°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#0E254C
RGBrgb(14, 37, 76)
HSLhsl(218, 69%, 18%)
HSVhsv(218, 82%, 30%)
CMYKcmyk(81.6%, 51.3%, 0%, 70.2%)
CIE-LABlab(15.16, 7.03, -26.77)
CIE-LCHlch(15.16, 27.67, 284.71°)
OKLaboklab(27.08% -0.0132 -0.0768)
OKLCHoklch(27.08% 0.078 260.3)
XYZxyz(2.1467, 1.9381, 7.0970)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E254C #4C350E
analogous
#0E444C #0E254C #160E4C
triadic
#0E254C #4C0E25 #254C0E
tetradic
#0E254C #4C0E44 #4C350E #0E4C16
square
#0E254C #4C0E44 #4C350E #0E4C16
split-complementary
#0E254C #4C160E #444C0E
monochromatic
#050D1A #050D1A #0E254C #183E80 #2157B3

Accessibility & contrast

On white

15.13
#0E254C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0E254C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E254C
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E254C#FFFFFF#000000##FFFFFF
##0E254C1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10294D
Deuteranopia (green-blind)
#03234B
Tritanopia (blue-blind)
#002E34
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0e254c;
/* rgb */ color: rgb(14, 37, 76);
/* oklch */ color: oklch(27.1% 0.078 260.3);
Tailwind
colors: {
  custom: {
    50: '#575f7e',
    500: '#0e254c',
    950: '#000000',
  },
}
SCSS
$custom: #0e254c;
$custom-light: #575f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0e254c",
  "rgb": {
    "r": 14,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 217.742,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27085,
    "c": 0.07788,
    "h": 260.3
  },
  "luminance": 0.01938
}

Semantic roles & 50–950 ramp

primary
#0E254C
secondary
#87662F
accent
#AB3CEC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0E254C

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

Preview Lab → · Contrast checker → · Palette generator →

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