#234EA1#234EA1

#234EA1 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.143 H 261.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#234EA1
RGBrgb(35, 78, 161)
HSLhsl(220, 64%, 38%)
HSVhsv(220, 78%, 63%)
CMYKcmyk(78.3%, 51.6%, 0%, 36.9%)
CIE-LABlab(34.76, 16.06, -49.24)
CIE-LCHlch(34.76, 51.79, 288.06°)
OKLaboklab(44.3% -0.0203 -0.1417)
OKLCHoklch(44.3% 0.143 261.8)
XYZxyz(9.8482, 8.3782, 34.8094)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234EA1 #A17623
analogous
#238DA1 #234EA1 #3723A1
triadic
#234EA1 #A1234E #4EA123
tetradic
#234EA1 #A1238D #A17623 #23A137
square
#234EA1 #A1238D #A17623 #23A137
split-complementary
#234EA1 #A13723 #8DA123
monochromatic
#0D1D3C #18366F #234EA1 #2F67D2 #628CDD

Accessibility & contrast

On white

7.85
#234EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#234EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234EA1
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234EA1#FFFFFF#000000##FFFFFF
##234EA11.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1958A4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #234ea1;
/* rgb */ color: rgb(35, 78, 161);
/* oklch */ color: oklch(44.3% 0.143 261.8);
Tailwind
colors: {
  custom: {
    50: '#727fbd',
    500: '#234ea1',
    950: '#000000',
  },
}
SCSS
$custom: #234ea1;
$custom-light: #727fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#234ea1",
  "rgb": {
    "r": 35,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 219.524,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.443,
    "c": 0.14315,
    "h": 261.8
  },
  "luminance": 0.08379
}

Semantic roles & 50–950 ramp

primary
#234EA1
secondary
#C2A05E
accent
#AE41E7
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #234EA1

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

Preview Lab → · Contrast checker → · Palette generator →

#234EA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva