#232AA7#232AA7

#232AA7 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.194 H 270.4°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#232AA7
RGBrgb(35, 42, 167)
HSLhsl(237, 65%, 40%)
HSVhsv(237, 79%, 65%)
CMYKcmyk(79%, 74.9%, 0%, 34.5%)
CIE-LABlab(26.16, 41.80, -66.91)
CIE-LCHlch(26.16, 78.89, 301.99°)
OKLaboklab(38.1% 0.0014 -0.1938)
OKLCHoklch(38.1% 0.194 270.4)
XYZxyz(8.4938, 4.8023, 37.0310)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232AA7 #A7A023
analogous
#236CA7 #232AA7 #5E23A7
triadic
#232AA7 #A7232A #2AA723
tetradic
#232AA7 #A7236C #A7A023 #23A75E
square
#232AA7 #A7236C #A7A023 #23A75E
split-complementary
#232AA7 #A75E23 #6CA723
monochromatic
#0E1142 #181D74 #232AA7 #333CD4 #666CDF

Accessibility & contrast

On white

10.71
#232AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#232AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232AA7
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232AA7#FFFFFF#000000##FFFFFF
##232AA71.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AB
Deuteranopia (green-blind)
#0037A5
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #232aa7;
/* rgb */ color: rgb(35, 42, 167);
/* oklch */ color: oklch(38.1% 0.194 270.4);
Tailwind
colors: {
  custom: {
    50: '#7665c2',
    500: '#232aa7',
    950: '#000000',
  },
}
SCSS
$custom: #232aa7;
$custom-light: #7665c2;
$custom-dark: #000000;
JSON
{
  "hex": "#232aa7",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 236.818,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38104,
    "c": 0.19377,
    "h": 270.4
  },
  "luminance": 0.04803
}

Semantic roles & 50–950 ramp

primary
#232AA7
secondary
#C4BF61
accent
#DF3FE8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #232AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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