#233A99#233A99

#233A99 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.157 H 267.8°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#233A99
RGBrgb(35, 58, 153)
HSLhsl(228, 63%, 37%)
HSVhsv(228, 77%, 60%)
CMYKcmyk(77.1%, 62.1%, 0%, 40%)
CIE-LABlab(28.60, 26.47, -54.41)
CIE-LCHlch(28.60, 60.51, 295.95°)
OKLaboklab(39.46% -0.006 -0.1572)
OKLCHoklch(39.46% 0.157 267.8)
XYZxyz(7.9540, 5.6825, 30.8084)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A99 #998223
analogous
#237599 #233A99 #472399
triadic
#233A99 #99233A #3A9923
tetradic
#233A99 #992375 #998223 #239947
square
#233A99 #992375 #998223 #239947
split-complementary
#233A99 #994723 #759923
monochromatic
#0C1435 #182767 #233A99 #2E4DCB #5D75DA

Accessibility & contrast

On white

9.83
#233A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#233A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A99
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A99#FFFFFF#000000##FFFFFF
##233A991.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #233a99;
/* rgb */ color: rgb(35, 58, 153);
/* oklch */ color: oklch(39.5% 0.157 267.8);
Tailwind
colors: {
  custom: {
    50: '#716fb8',
    500: '#233a99',
    950: '#000000',
  },
}
SCSS
$custom: #233a99;
$custom-light: #716fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#233a99",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 153
  },
  "hsl": {
    "h": 228.305,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39462,
    "c": 0.15734,
    "h": 267.8
  },
  "luminance": 0.05683
}

Semantic roles & 50–950 ramp

primary
#233A99
secondary
#BEAB59
accent
#C642E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #233A99

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

Preview Lab → · Contrast checker → · Palette generator →

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