#233AA4#233AA4

#233AA4 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.172 H 267.9°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#233AA4
RGBrgb(35, 58, 164)
HSLhsl(229, 65%, 39%)
HSVhsv(229, 79%, 64%)
CMYKcmyk(78.7%, 64.6%, 0%, 35.7%)
CIE-LABlab(29.57, 30.67, -59.49)
CIE-LCHlch(29.57, 66.93, 297.27°)
OKLaboklab(40.48% -0.0062 -0.1721)
OKLCHoklch(40.48% 0.172 267.9)
XYZxyz(8.9047, 6.0628, 35.8157)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233AA4 #A48D23
analogous
#237BA4 #233AA4 #4D23A4
triadic
#233AA4 #A4233A #3AA423
tetradic
#233AA4 #A4237B #A48D23 #23A44D
square
#233AA4 #A4237B #A48D23 #23A44D
split-complementary
#233AA4 #A44D23 #7BA423
monochromatic
#0D163F #182872 #233AA4 #314ED3 #6479DE

Accessibility & contrast

On white

9.49
#233AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#233AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233AA4
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233AA4#FFFFFF#000000##FFFFFF
##233AA41.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0040A2
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #233aa4;
/* rgb */ color: rgb(35, 58, 164);
/* oklch */ color: oklch(40.5% 0.172 267.9);
Tailwind
colors: {
  custom: {
    50: '#7470c0',
    500: '#233aa4',
    950: '#000000',
  },
}
SCSS
$custom: #233aa4;
$custom-light: #7470c0;
$custom-dark: #000000;
JSON
{
  "hex": "#233aa4",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 229.302,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40482,
    "c": 0.17223,
    "h": 267.9
  },
  "luminance": 0.06064
}

Semantic roles & 50–950 ramp

primary
#233AA4
secondary
#C3B160
accent
#CA40E8
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #233AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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