#233A8E#233A8E

#233A8E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.142 H 267.5°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#233A8E
RGBrgb(35, 58, 142)
HSLhsl(227, 60%, 35%)
HSVhsv(227, 75%, 56%)
CMYKcmyk(75.4%, 59.2%, 0%, 44.3%)
CIE-LABlab(27.67, 22.21, -49.17)
CIE-LCHlch(27.67, 53.95, 294.31°)
OKLaboklab(38.48% -0.0061 -0.1418)
OKLCHoklch(38.48% 0.142 267.5)
XYZxyz(7.0870, 5.3357, 26.2423)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A8E #8E7723
analogous
#23708E #233A8E #42238E
triadic
#233A8E #8E233A #3A8E23
tetradic
#233A8E #8E2370 #8E7723 #238E42
square
#233A8E #8E2370 #8E7723 #238E42
split-complementary
#233A8E #8E4223 #708E23
monochromatic
#0B122C #17265D #233A8E #2F4EBF #5671D5

Accessibility & contrast

On white

10.16
#233A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #233A8E
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A8E#FFFFFF#000000##FFFFFF
##233A8E1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #233a8e;
/* rgb */ color: rgb(35, 58, 142);
/* oklch */ color: oklch(38.5% 0.142 267.5);
Tailwind
colors: {
  custom: {
    50: '#6e6fb0',
    500: '#233a8e',
    950: '#000000',
  },
}
SCSS
$custom: #233a8e;
$custom-light: #6e6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#233a8e",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 142
  },
  "hsl": {
    "h": 227.103,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38483,
    "c": 0.14198,
    "h": 267.5
  },
  "luminance": 0.05336
}

Semantic roles & 50–950 ramp

primary
#233A8E
secondary
#B9A353
accent
#C144E4
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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