#233A7E#233A7E

#233A7E is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.1% C 0.119 H 266.5°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#233A7E
RGBrgb(35, 58, 126)
HSLhsl(225, 57%, 32%)
HSVhsv(225, 72%, 49%)
CMYKcmyk(72.2%, 54%, 0%, 50.6%)
CIE-LABlab(26.42, 15.93, -41.24)
CIE-LCHlch(26.42, 44.21, 291.12°)
OKLaboklab(37.14% -0.0072 -0.1185)
OKLCHoklch(37.14% 0.119 266.5)
XYZxyz(5.9708, 4.8892, 20.3637)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A7E #7E6723
analogous
#23687E #233A7E #3A237E
triadic
#233A7E #7E233A #3A7E23
tetradic
#233A7E #7E2368 #7E6723 #237E3A
square
#233A7E #7E2368 #7E6723 #237E3A
split-complementary
#233A7E #7E3A23 #687E23
monochromatic
#080E1E #16244E #233A7E #3050AE #4E6ECE

Accessibility & contrast

On white

10.62
#233A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#233A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A7E
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A7E#FFFFFF#000000##FFFFFF
##233A7E1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4380
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #233a7e;
/* rgb */ color: rgb(35, 58, 126);
/* oklch */ color: oklch(37.1% 0.119 266.5);
Tailwind
colors: {
  custom: {
    50: '#6a6fa4',
    500: '#233a7e',
    950: '#000000',
  },
}
SCSS
$custom: #233a7e;
$custom-light: #6a6fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#233a7e",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 126
  },
  "hsl": {
    "h": 224.835,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37144,
    "c": 0.11876,
    "h": 266.5
  },
  "luminance": 0.0489
}

Semantic roles & 50–950 ramp

primary
#233A7E
secondary
#B0974C
accent
#B948E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #233A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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