#234D97#234D97

#234D97 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.130 H 260.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#234D97
RGBrgb(35, 77, 151)
HSLhsl(218, 62%, 36%)
HSVhsv(218, 77%, 59%)
CMYKcmyk(76.8%, 49%, 0%, 40.8%)
CIE-LABlab(33.77, 12.78, -44.80)
CIE-LCHlch(33.77, 46.59, 285.93°)
OKLaboklab(43.32% -0.0209 -0.1287)
OKLCHoklch(43.32% 0.13 260.8)
XYZxyz(8.9309, 7.8984, 30.3260)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234D97 #976D23
analogous
#238797 #234D97 #332397
triadic
#234D97 #97234D #4D9723
tetradic
#234D97 #972387 #976D23 #239733
square
#234D97 #972387 #976D23 #239733
split-complementary
#234D97 #973323 #879723
monochromatic
#0C1A34 #173465 #234D97 #2F66C9 #5B89D9

Accessibility & contrast

On white

8.14
#234D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#234D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234D97
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234D97#FFFFFF#000000##FFFFFF
##234D971.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24559A
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #234d97;
/* rgb */ color: rgb(35, 77, 151);
/* oklch */ color: oklch(43.3% 0.130 260.8);
Tailwind
colors: {
  custom: {
    50: '#6f7eb6',
    500: '#234d97',
    950: '#000000',
  },
}
SCSS
$custom: #234d97;
$custom-light: #6f7eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#234d97",
  "rgb": {
    "r": 35,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 218.276,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43322,
    "c": 0.13034,
    "h": 260.8
  },
  "luminance": 0.07899
}

Semantic roles & 50–950 ramp

primary
#234D97
secondary
#BE9958
accent
#AA42E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #234D97

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

Preview Lab → · Contrast checker → · Palette generator →

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