#233AA1#233AA1

#233AA1 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.168 H 267.9°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#233AA1
RGBrgb(35, 58, 161)
HSLhsl(229, 64%, 38%)
HSVhsv(229, 78%, 63%)
CMYKcmyk(78.3%, 64%, 0%, 36.9%)
CIE-LABlab(29.30, 29.53, -58.12)
CIE-LCHlch(29.30, 65.19, 296.93°)
OKLaboklab(40.2% -0.0061 -0.1681)
OKLCHoklch(40.2% 0.168 267.9)
XYZxyz(8.6370, 5.9557, 34.4057)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233AA1 #A18A23
analogous
#2379A1 #233AA1 #4B23A1
triadic
#233AA1 #A1233A #3AA123
tetradic
#233AA1 #A12379 #A18A23 #23A14B
square
#233AA1 #A12379 #A18A23 #23A14B
split-complementary
#233AA1 #A14B23 #79A123
monochromatic
#0D163C #18286F #233AA1 #2F4DD2 #6278DD

Accessibility & contrast

On white

9.58
#233AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#233AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233AA1
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233AA1#FFFFFF#000000##FFFFFF
##233AA11.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#003F9F
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #233aa1;
/* rgb */ color: rgb(35, 58, 161);
/* oklch */ color: oklch(40.2% 0.168 267.9);
Tailwind
colors: {
  custom: {
    50: '#7370be',
    500: '#233aa1',
    950: '#000000',
  },
}
SCSS
$custom: #233aa1;
$custom-light: #7370be;
$custom-dark: #000000;
JSON
{
  "hex": "#233aa1",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 161
  },
  "hsl": {
    "h": 229.048,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.402,
    "c": 0.16822,
    "h": 267.9
  },
  "luminance": 0.05957
}

Semantic roles & 50–950 ramp

primary
#233AA1
secondary
#C2B05E
accent
#C941E7
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #233AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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