#234E97#234E97

#234E97 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.129 H 260.3°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#234E97
RGBrgb(35, 78, 151)
HSLhsl(218, 62%, 36%)
HSVhsv(218, 77%, 59%)
CMYKcmyk(76.8%, 48.3%, 0%, 40.8%)
CIE-LABlab(34.06, 12.11, -44.33)
CIE-LCHlch(34.06, 45.95, 285.28°)
OKLaboklab(43.55% -0.0218 -0.1272)
OKLCHoklch(43.55% 0.129 260.3)
XYZxyz(9.0014, 8.0395, 30.3495)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234E97 #976C23
analogous
#238897 #234E97 #322397
triadic
#234E97 #97234E #4E9723
tetradic
#234E97 #972388 #976C23 #239732
square
#234E97 #972388 #976C23 #239732
split-complementary
#234E97 #973223 #889723
monochromatic
#0C1B34 #173465 #234E97 #2F68C9 #5B8AD9

Accessibility & contrast

On white

8.05
#234E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#234E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234E97
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234E97#FFFFFF#000000##FFFFFF
##234E971.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569A
Deuteranopia (green-blind)
#044B96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #234e97;
/* rgb */ color: rgb(35, 78, 151);
/* oklch */ color: oklch(43.5% 0.129 260.3);
Tailwind
colors: {
  custom: {
    50: '#6f7fb6',
    500: '#234e97',
    950: '#000000',
  },
}
SCSS
$custom: #234e97;
$custom-light: #6f7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#234e97",
  "rgb": {
    "r": 35,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 217.759,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43548,
    "c": 0.12909,
    "h": 260.3
  },
  "luminance": 0.0804
}

Semantic roles & 50–950 ramp

primary
#234E97
secondary
#BE9858
accent
#A942E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #234E97

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

Preview Lab → · Contrast checker → · Palette generator →

#234E97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva