#233291#233291

#233291 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.156 H 269.9°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#233291
RGBrgb(35, 50, 145)
HSLhsl(232, 61%, 35%)
HSVhsv(232, 76%, 57%)
CMYKcmyk(75.9%, 65.5%, 0%, 43.1%)
CIE-LABlab(25.81, 28.80, -54.06)
CIE-LCHlch(25.81, 61.25, 298.04°)
OKLaboklab(37.18% -0.0004 -0.1563)
OKLCHoklch(37.18% 0.156 269.9)
XYZxyz(6.9428, 4.6821, 27.3204)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233291 #918223
analogous
#236991 #233291 #4B2391
triadic
#233291 #912332 #329123
tetradic
#233291 #912369 #918223 #23914B
square
#233291 #912369 #918223 #23914B
split-complementary
#233291 #914B23 #699123
monochromatic
#0B102E #172160 #233291 #2F43C2 #5869D7

Accessibility & contrast

On white

10.84
#233291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#233291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233291
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233291#FFFFFF#000000##FFFFFF
##2332911.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #233291;
/* rgb */ color: rgb(35, 50, 145);
/* oklch */ color: oklch(37.2% 0.156 269.9);
Tailwind
colors: {
  custom: {
    50: '#706ab2',
    500: '#233291',
    950: '#000000',
  },
}
SCSS
$custom: #233291;
$custom-light: #706ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#233291",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 145
  },
  "hsl": {
    "h": 231.818,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37184,
    "c": 0.15629,
    "h": 269.9
  },
  "luminance": 0.04683
}

Semantic roles & 50–950 ramp

primary
#233291
secondary
#BBAD55
accent
#CE44E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #233291

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

Preview Lab → · Contrast checker → · Palette generator →

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