#234291#234291

#234291 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.136 H 264.8°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#234291
RGBrgb(35, 66, 145)
HSLhsl(223, 61%, 35%)
HSVhsv(223, 76%, 57%)
CMYKcmyk(75.9%, 54.5%, 0%, 43.1%)
CIE-LABlab(30.15, 17.90, -46.99)
CIE-LCHlch(30.15, 50.28, 290.85°)
OKLaboklab(40.42% -0.0123 -0.1353)
OKLCHoklch(40.42% 0.136 264.8)
XYZxyz(7.7504, 6.2972, 27.5896)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234291 #917223
analogous
#237991 #234291 #3B2391
triadic
#234291 #912342 #429123
tetradic
#234291 #912379 #917223 #23913B
square
#234291 #912379 #917223 #23913B
split-complementary
#234291 #913B23 #799123
monochromatic
#0B152E #172C60 #234291 #2F58C2 #587CD7

Accessibility & contrast

On white

9.29
#234291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#234291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234291
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234291#FFFFFF#000000##FFFFFF
##2342911.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064C94
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #234291;
/* rgb */ color: rgb(35, 66, 145);
/* oklch */ color: oklch(40.4% 0.136 264.8);
Tailwind
colors: {
  custom: {
    50: '#6e75b2',
    500: '#234291',
    950: '#000000',
  },
}
SCSS
$custom: #234291;
$custom-light: #6e75b2;
$custom-dark: #000000;
JSON
{
  "hex": "#234291",
  "rgb": {
    "r": 35,
    "g": 66,
    "b": 145
  },
  "hsl": {
    "h": 223.091,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40425,
    "c": 0.13587,
    "h": 264.8
  },
  "luminance": 0.06298
}

Semantic roles & 50–950 ramp

primary
#234291
secondary
#BB9E55
accent
#B744E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #234291

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

Preview Lab → · Contrast checker → · Palette generator →

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