#234391#234391

#234391 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.135 H 264.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#234391
RGBrgb(35, 67, 145)
HSLhsl(223, 61%, 35%)
HSVhsv(223, 76%, 57%)
CMYKcmyk(75.9%, 53.8%, 0%, 43.1%)
CIE-LABlab(30.44, 17.21, -46.53)
CIE-LCHlch(30.44, 49.61, 290.30°)
OKLaboklab(40.64% -0.0132 -0.1339)
OKLCHoklch(40.64% 0.135 264.4)
XYZxyz(7.8093, 6.4151, 27.6092)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234391 #917123
analogous
#237A91 #234391 #3A2391
triadic
#234391 #912343 #439123
tetradic
#234391 #91237A #917123 #23913A
square
#234391 #91237A #917123 #23913A
split-complementary
#234391 #913A23 #7A9123
monochromatic
#0B152E #172C60 #234391 #2F5AC2 #587DD7

Accessibility & contrast

On white

9.20
#234391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#234391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234391
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234391#FFFFFF#000000##FFFFFF
##2343911.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4D94
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #234391;
/* rgb */ color: rgb(35, 67, 145);
/* oklch */ color: oklch(40.6% 0.135 264.4);
Tailwind
colors: {
  custom: {
    50: '#6e76b2',
    500: '#234391',
    950: '#000000',
  },
}
SCSS
$custom: #234391;
$custom-light: #6e76b2;
$custom-dark: #000000;
JSON
{
  "hex": "#234391",
  "rgb": {
    "r": 35,
    "g": 67,
    "b": 145
  },
  "hsl": {
    "h": 222.545,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40642,
    "c": 0.13457,
    "h": 264.4
  },
  "luminance": 0.06416
}

Semantic roles & 50–950 ramp

primary
#234391
secondary
#BB9D55
accent
#B544E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #234391

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

Preview Lab → · Contrast checker → · Palette generator →

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