#233A8F#233A8F

#233A8F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.143 H 267.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#233A8F
RGBrgb(35, 58, 143)
HSLhsl(227, 61%, 35%)
HSVhsv(227, 76%, 56%)
CMYKcmyk(75.5%, 59.4%, 0%, 43.9%)
CIE-LABlab(27.75, 22.60, -49.65)
CIE-LCHlch(27.75, 54.56, 294.48°)
OKLaboklab(38.57% -0.0061 -0.1433)
OKLCHoklch(38.57% 0.143 267.6)
XYZxyz(7.1624, 5.3658, 26.6395)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A8F #8F7823
analogous
#23708F #233A8F #42238F
triadic
#233A8F #8F233A #3A8F23
tetradic
#233A8F #8F2370 #8F7823 #238F42
square
#233A8F #8F2370 #8F7823 #238F42
split-complementary
#233A8F #8F4223 #708F23
monochromatic
#0B122D #17265E #233A8F #2F4EC0 #5772D6

Accessibility & contrast

On white

10.13
#233A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#233A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A8F
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A8F#FFFFFF#000000##FFFFFF
##233A8F1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #233a8f;
/* rgb */ color: rgb(35, 58, 143);
/* oklch */ color: oklch(38.6% 0.143 267.6);
Tailwind
colors: {
  custom: {
    50: '#6e6fb1',
    500: '#233a8f',
    950: '#000000',
  },
}
SCSS
$custom: #233a8f;
$custom-light: #6e6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#233a8f",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 143
  },
  "hsl": {
    "h": 227.222,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3857,
    "c": 0.1434,
    "h": 267.6
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

primary
#233A8F
secondary
#BAA454
accent
#C244E4
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #233A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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