#233A8A#233A8A

#233A8A is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.136 H 267.4°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#233A8A
RGBrgb(35, 58, 138)
HSLhsl(227, 60%, 34%)
HSVhsv(227, 75%, 54%)
CMYKcmyk(74.6%, 58%, 0%, 45.9%)
CIE-LABlab(27.35, 20.65, -47.22)
CIE-LCHlch(27.35, 51.54, 293.62°)
OKLaboklab(38.14% -0.0063 -0.1361)
OKLCHoklch(38.14% 0.136 267.4)
XYZxyz(6.7920, 5.2177, 24.6890)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A8A #8A7323
analogous
#236E8A #233A8A #40238A
triadic
#233A8A #8A233A #3A8A23
tetradic
#233A8A #8A236E #8A7323 #238A40
square
#233A8A #8A236E #8A7323 #238A40
split-complementary
#233A8A #8A4023 #6E8A23
monochromatic
#0A1128 #172559 #233A8A #2F4FBB #5470D4

Accessibility & contrast

On white

10.28
#233A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#233A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A8A
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A8A#FFFFFF#000000##FFFFFF
##233A8A1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #233a8a;
/* rgb */ color: rgb(35, 58, 138);
/* oklch */ color: oklch(38.1% 0.136 267.4);
Tailwind
colors: {
  custom: {
    50: '#6d6fad',
    500: '#233a8a',
    950: '#000000',
  },
}
SCSS
$custom: #233a8a;
$custom-light: #6d6fad;
$custom-dark: #000000;
JSON
{
  "hex": "#233a8a",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 226.602,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38138,
    "c": 0.13628,
    "h": 267.4
  },
  "luminance": 0.05218
}

Semantic roles & 50–950 ramp

primary
#233A8A
secondary
#B7A151
accent
#C045E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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