#0E2958#0E2958

#0E2958 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.091 H 260.6°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#0E2958
RGBrgb(14, 41, 88)
HSLhsl(218, 73%, 20%)
HSVhsv(218, 84%, 35%)
CMYKcmyk(84.1%, 53.4%, 0%, 65.5%)
CIE-LABlab(17.38, 9.32, -31.29)
CIE-LCHlch(17.38, 32.65, 286.59°)
OKLaboklab(29.08% -0.0148 -0.09)
OKLCHoklch(29.08% 0.091 260.6)
XYZxyz(2.7349, 2.3835, 9.5466)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2958 #583D0E
analogous
#0E4E58 #0E2958 #180E58
triadic
#0E2958 #580E29 #29580E
tetradic
#0E2958 #580E4E #583D0E #0E5818
square
#0E2958 #580E4E #583D0E #0E5818
split-complementary
#0E2958 #58180E #4E580E
monochromatic
#040C1A #061023 #0E2958 #16428D #1F5AC2

Accessibility & contrast

On white

14.22
#0E2958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0E2958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2958
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2958#FFFFFF#000000##FFFFFF
##0E29581.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2E5A
Deuteranopia (green-blind)
#002857
Tritanopia (blue-blind)
#00343C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0e2958;
/* rgb */ color: rgb(14, 41, 88);
/* oklch */ color: oklch(29.1% 0.091 260.6);
Tailwind
colors: {
  custom: {
    50: '#5a6287',
    500: '#0e2958',
    950: '#000000',
  },
}
SCSS
$custom: #0e2958;
$custom-light: #5a6287;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2958",
  "rgb": {
    "r": 14,
    "g": 41,
    "b": 88
  },
  "hsl": {
    "h": 218.108,
    "s": 72.549,
    "l": 20
  },
  "oklch": {
    "l": 0.29084,
    "c": 0.09121,
    "h": 260.6
  },
  "luminance": 0.02384
}

Semantic roles & 50–950 ramp

primary
#0E2958
secondary
#926E30
accent
#AD39EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0E2958

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

Preview Lab → · Contrast checker → · Palette generator →

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