#233EA1#233EA1

#233EA1 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.163 H 267.0°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#233EA1
RGBrgb(35, 62, 161)
HSLhsl(227, 64%, 38%)
HSVhsv(227, 78%, 63%)
CMYKcmyk(78.3%, 61.5%, 0%, 36.9%)
CIE-LABlab(30.34, 26.86, -56.42)
CIE-LCHlch(30.34, 62.49, 295.45°)
OKLaboklab(40.97% -0.0086 -0.1631)
OKLCHoklch(40.97% 0.163 267)
XYZxyz(8.8465, 6.3748, 34.4755)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233EA1 #A18623
analogous
#237DA1 #233EA1 #4723A1
triadic
#233EA1 #A1233E #3EA123
tetradic
#233EA1 #A1237D #A18623 #23A147
square
#233EA1 #A1237D #A18623 #23A147
split-complementary
#233EA1 #A14723 #7DA123
monochromatic
#0D173C #182B6F #233EA1 #2F52D2 #627CDD

Accessibility & contrast

On white

9.23
#233EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#233EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233EA1
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233EA1#FFFFFF#000000##FFFFFF
##233EA11.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #233ea1;
/* rgb */ color: rgb(35, 62, 161);
/* oklch */ color: oklch(41.0% 0.163 267.0);
Tailwind
colors: {
  custom: {
    50: '#7373be',
    500: '#233ea1',
    950: '#000000',
  },
}
SCSS
$custom: #233ea1;
$custom-light: #7373be;
$custom-dark: #000000;
JSON
{
  "hex": "#233ea1",
  "rgb": {
    "r": 35,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 227.143,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4097,
    "c": 0.16331,
    "h": 267
  },
  "luminance": 0.06376
}

Semantic roles & 50–950 ramp

primary
#233EA1
secondary
#C2AC5E
accent
#C441E7
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #233EA1

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

Preview Lab → · Contrast checker → · Palette generator →

#233EA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva