#233AA7#233AA7

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

Color values

HEX#233AA7
RGBrgb(35, 58, 167)
HSLhsl(230, 65%, 40%)
HSVhsv(230, 79%, 65%)
CMYKcmyk(79%, 65.3%, 0%, 34.5%)
CIE-LABlab(29.84, 31.80, -60.85)
CIE-LCHlch(29.84, 68.66, 297.59°)
OKLaboklab(40.77% -0.0063 -0.1761)
OKLCHoklch(40.77% 0.176 268)
XYZxyz(9.1788, 6.1724, 37.2594)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233AA7 #A79023
analogous
#237CA7 #233AA7 #4E23A7
triadic
#233AA7 #A7233A #3AA723
tetradic
#233AA7 #A7237C #A79023 #23A74E
square
#233AA7 #A7237C #A79023 #23A74E
split-complementary
#233AA7 #A74E23 #7CA723
monochromatic
#0E1742 #182874 #233AA7 #334FD4 #667BDF

Accessibility & contrast

On white

9.40
#233AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#233AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233AA7
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233AA7#FFFFFF#000000##FFFFFF
##233AA71.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #233aa7;
/* rgb */ color: rgb(35, 58, 167);
/* oklch */ color: oklch(40.8% 0.176 268.0);
Tailwind
colors: {
  custom: {
    50: '#7470c2',
    500: '#233aa7',
    950: '#000000',
  },
}
SCSS
$custom: #233aa7;
$custom-light: #7470c2;
$custom-dark: #000000;
JSON
{
  "hex": "#233aa7",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 167
  },
  "hsl": {
    "h": 229.545,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40767,
    "c": 0.17621,
    "h": 268
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#233AA7
secondary
#C4B361
accent
#CB3FE8
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #233AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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