#233A81#233A81

#233A81 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.4% C 0.123 H 266.8°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#233A81
RGBrgb(35, 58, 129)
HSLhsl(225, 57%, 32%)
HSVhsv(225, 73%, 51%)
CMYKcmyk(72.9%, 55%, 0%, 49.4%)
CIE-LABlab(26.64, 17.11, -42.76)
CIE-LCHlch(26.64, 46.06, 291.81°)
OKLaboklab(37.39% -0.0069 -0.123)
OKLCHoklch(37.39% 0.123 266.8)
XYZxyz(6.1673, 4.9678, 21.3985)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A81 #816A23
analogous
#236981 #233A81 #3B2381
triadic
#233A81 #81233A #3A8123
tetradic
#233A81 #812369 #816A23 #23813B
square
#233A81 #812369 #816A23 #23813B
split-complementary
#233A81 #813B23 #698123
monochromatic
#090F21 #162451 #233A81 #3050B1 #4F6ECF

Accessibility & contrast

On white

10.53
#233A81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#233A81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A81
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A81#FFFFFF#000000##FFFFFF
##233A811.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074483
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#004B57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #233a81;
/* rgb */ color: rgb(35, 58, 129);
/* oklch */ color: oklch(37.4% 0.123 266.8);
Tailwind
colors: {
  custom: {
    50: '#6b6fa6',
    500: '#233a81',
    950: '#000000',
  },
}
SCSS
$custom: #233a81;
$custom-light: #6b6fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#233a81",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 129
  },
  "hsl": {
    "h": 225.319,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37386,
    "c": 0.12319,
    "h": 266.8
  },
  "luminance": 0.04968
}

Semantic roles & 50–950 ramp

primary
#233A81
secondary
#B39A4D
accent
#BB47E1
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #233A81

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

Preview Lab → · Contrast checker → · Palette generator →

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