#233AA5#233AA5

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

Color values

HEX#233AA5
RGBrgb(35, 58, 165)
HSLhsl(229, 65%, 39%)
HSVhsv(229, 79%, 65%)
CMYKcmyk(78.8%, 64.8%, 0%, 35.3%)
CIE-LABlab(29.66, 31.04, -59.95)
CIE-LCHlch(29.66, 67.51, 297.38°)
OKLaboklab(40.58% -0.0062 -0.1734)
OKLCHoklch(40.58% 0.174 267.9)
XYZxyz(8.9954, 6.0990, 36.2932)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233AA5 #A58E23
analogous
#237BA5 #233AA5 #4D23A5
triadic
#233AA5 #A5233A #3AA523
tetradic
#233AA5 #A5237B #A58E23 #23A54D
square
#233AA5 #A5237B #A58E23 #23A54D
split-complementary
#233AA5 #A54D23 #7BA523
monochromatic
#0E1740 #182873 #233AA5 #324ED3 #647ADE

Accessibility & contrast

On white

9.46
#233AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#233AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233AA5
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233AA5#FFFFFF#000000##FFFFFF
##233AA51.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#0040A3
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #233aa5;
/* rgb */ color: rgb(35, 58, 165);
/* oklch */ color: oklch(40.6% 0.174 267.9);
Tailwind
colors: {
  custom: {
    50: '#7470c1',
    500: '#233aa5',
    950: '#000000',
  },
}
SCSS
$custom: #233aa5;
$custom-light: #7470c1;
$custom-dark: #000000;
JSON
{
  "hex": "#233aa5",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 229.385,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40577,
    "c": 0.17356,
    "h": 267.9
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#233AA5
secondary
#C4B260
accent
#CA40E8
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #233AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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