#233AA8#233AA8

#233AA8 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.9% C 0.178 H 268.0°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#233AA8
RGBrgb(35, 58, 168)
HSLhsl(230, 66%, 40%)
HSVhsv(230, 79%, 66%)
CMYKcmyk(79.2%, 65.5%, 0%, 34.1%)
CIE-LABlab(29.93, 32.17, -61.30)
CIE-LCHlch(29.93, 69.23, 297.69°)
OKLaboklab(40.86% -0.0063 -0.1774)
OKLCHoklch(40.86% 0.178 268)
XYZxyz(9.2716, 6.2095, 37.7481)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233AA8 #A89123
analogous
#237DA8 #233AA8 #4F23A8
triadic
#233AA8 #A8233A #3AA823
tetradic
#233AA8 #A8237D #A89123 #23A84F
square
#233AA8 #A8237D #A89123 #23A84F
split-complementary
#233AA8 #A84F23 #7DA823
monochromatic
#0E1743 #182975 #233AA8 #344FD5 #667BDF

Accessibility & contrast

On white

9.37
#233AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#233AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233AA8
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233AA8#FFFFFF#000000##FFFFFF
##233AA81.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0040A6
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #233aa8;
/* rgb */ color: rgb(35, 58, 168);
/* oklch */ color: oklch(40.9% 0.178 268.0);
Tailwind
colors: {
  custom: {
    50: '#7570c3',
    500: '#233aa8',
    950: '#000000',
  },
}
SCSS
$custom: #233aa8;
$custom-light: #7570c3;
$custom-dark: #000000;
JSON
{
  "hex": "#233aa8",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 229.624,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40862,
    "c": 0.17753,
    "h": 268
  },
  "luminance": 0.06211
}

Semantic roles & 50–950 ramp

primary
#233AA8
secondary
#C5B462
accent
#CB3FE8
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #233AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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