#233BA6#233BA6

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

Color values

HEX#233BA6
RGBrgb(35, 59, 166)
HSLhsl(229, 65%, 39%)
HSVhsv(229, 79%, 65%)
CMYKcmyk(78.9%, 64.5%, 0%, 34.9%)
CIE-LABlab(30.00, 30.76, -59.99)
CIE-LCHlch(30.00, 67.41, 297.15°)
OKLaboklab(40.86% -0.0068 -0.1736)
OKLCHoklch(40.86% 0.174 267.7)
XYZxyz(9.1376, 6.2374, 36.7913)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233BA6 #A68E23
analogous
#237CA6 #233BA6 #4D23A6
triadic
#233BA6 #A6233B #3BA623
tetradic
#233BA6 #A6237C #A68E23 #23A64D
square
#233BA6 #A6237C #A68E23 #23A64D
split-complementary
#233BA6 #A64D23 #7CA623
monochromatic
#0E1741 #182973 #233BA6 #3250D4 #657BDF

Accessibility & contrast

On white

9.34
#233BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#233BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233BA6
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233BA6#FFFFFF#000000##FFFFFF
##233BA61.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA9
Deuteranopia (green-blind)
#0041A4
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #233ba6;
/* rgb */ color: rgb(35, 59, 166);
/* oklch */ color: oklch(40.9% 0.174 267.7);
Tailwind
colors: {
  custom: {
    50: '#7470c1',
    500: '#233ba6',
    950: '#000000',
  },
}
SCSS
$custom: #233ba6;
$custom-light: #7470c1;
$custom-dark: #000000;
JSON
{
  "hex": "#233ba6",
  "rgb": {
    "r": 35,
    "g": 59,
    "b": 166
  },
  "hsl": {
    "h": 229.008,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40857,
    "c": 0.17369,
    "h": 267.7
  },
  "luminance": 0.06238
}

Semantic roles & 50–950 ramp

primary
#233BA6
secondary
#C4B261
accent
#C940E8
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #233BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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