#234991#234991

#234991 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.0% C 0.127 H 261.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#234991
RGBrgb(35, 73, 145)
HSLhsl(219, 61%, 35%)
HSVhsv(219, 76%, 57%)
CMYKcmyk(75.9%, 49.7%, 0%, 43.1%)
CIE-LABlab(32.18, 13.12, -43.71)
CIE-LCHlch(32.18, 45.63, 286.71°)
OKLaboklab(41.97% -0.0183 -0.1255)
OKLCHoklch(41.97% 0.127 261.7)
XYZxyz(8.1847, 7.1658, 27.7344)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234991 #916B23
analogous
#238091 #234991 #342391
triadic
#234991 #912349 #499123
tetradic
#234991 #912380 #916B23 #239134
square
#234991 #912380 #916B23 #239134
split-complementary
#234991 #913423 #809123
monochromatic
#0B172E #173060 #234991 #2F62C2 #5884D7

Accessibility & contrast

On white

8.63
#234991 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#234991 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234991
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234991#FFFFFF#000000##FFFFFF
##2349911.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205194
Deuteranopia (green-blind)
#004790
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #234991;
/* rgb */ color: rgb(35, 73, 145);
/* oklch */ color: oklch(42.0% 0.127 261.7);
Tailwind
colors: {
  custom: {
    50: '#6e7bb2',
    500: '#234991',
    950: '#000000',
  },
}
SCSS
$custom: #234991;
$custom-light: #6e7bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#234991",
  "rgb": {
    "r": 35,
    "g": 73,
    "b": 145
  },
  "hsl": {
    "h": 219.273,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41972,
    "c": 0.12685,
    "h": 261.7
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

primary
#234991
secondary
#BB9855
accent
#AD44E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #234991

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

Preview Lab → · Contrast checker → · Palette generator →

#234991 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva